jeudi 6 mars 2014

Positional light area size


Vote count:

0




I can set the size of the area of influence of a positional light? Something like the image:


enter image description here


I do not know if I can do this with GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION and GL_QUADRATIC_ATTENUATION.


Since I have not seen documentation that talks about this and what values ​​should each option.


Thanks.



asked 34 secs ago






Aucun commentaire:

Enregistrer un commentaire