Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct SpotLightSource {
- vec3 position;
- vec3 color;
- vec3 ambientColor;
- float attenuation;
- float gradient;
- float specularFactor;
- };
- struct DiretionalLightSource {
- vec3 position;
- vec3 direction;
- float directionGradient;
- vec3 color;
- vec3 ambientColor;
- float attenuation;
- float gradient;
- float specularFactor;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement