Advertisement
Guest User

Untitled

a guest
Jul 8th, 2014
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. struct Light {
  2. vec4 pos; // w == 0 -> directional light
  3. vec3 color;
  4. float constantAttenuation, linearAttenuation, quadraticAttenuation;
  5. float spotCutoff, spotExponent;
  6. vec3 spotDir;
  7. };
  8.  
  9. uniform sampler2D texture;
  10. uniform Light lights;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement