How do I get my polygons to be lighted by either side?
Posted
by
Molmasepic
on Game Development
See other posts from Game Development
or by Molmasepic
Published on 2012-06-03T20:19:41Z
Indexed on
2012/06/03
22:48 UTC
Read the original article
Hit count: 271
Okay, I am using Ogre3D and Gorilla(2D library for ogre3D) and I am making Gorilla::Screenrenderables in the open scene.
The problem that I am having is that when I make a light and have my SR(screenrenderable) near it, it does not light up unless the face of the SR is facing the light...
I am wondering if there is a way to maybe set the material or code(which would be harder) so the SR is lit up whether the vertices of the polygon are facing the light or not. I feel it is possible but the main obstacle is how I would go about doing this.
© Game Development or respective owner