Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // set by the vertex shader
- varying vec3 normal;
- void main(void)
- {
- // render a color based on the texture coordinate
- // gl_FragColor is the primary "output" of the fragment shader
- gl_FragColor = vec4(normal,0);
- }
Add Comment
Please, Sign In to add comment