SHARE
TWEET

vertex

a guest Dec 4th, 2014 144 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. attribute vec3 vPosition;
  2. attribute vec3 vNormal;
  3. varying   vec3 varyNormal;
  4.  
  5. uniform mat4 uMVP;
  6.  
  7. void main()
  8. {
  9.         gl_Position = uMVP * vec4(vPosition, 1.0);
  10.         varyNormal = vNormal;
  11. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top