Advertisement
Jaca777

Untitled

Jul 1st, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. struct SpotLightSource {
  2. vec3 position;
  3. vec3 color;
  4. vec3 ambientColor;
  5. float attenuation;
  6. float gradient;
  7. float specularFactor;
  8. };
  9.  
  10. struct DiretionalLightSource {
  11. vec3 position;
  12. vec3 direction;
  13. float directionGradient;
  14. vec3 color;
  15. vec3 ambientColor;
  16. float attenuation;
  17. float gradient;
  18. float specularFactor;
  19. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement