Two-Sided Lighting

Hi !

I can’t find a function in Xith3D which implements Two-Sided Lighting.
Some of my Models have Polygons, which normals are face backwards…
So i need a function like in JOGL/OPENGL : glLightModeli(GL.GL_LIGHT_MODEL_TWO_SIDE, GL.GL_TRUE);
…so that both sides of the Polygon will be exposed correctly.
Can I do this with a Xith3D Function?

Thanks for help !

cw

Is this a global OpenGL option? If so, it could be added to the RenderOptions class allowing one to enable/disable it easily.

If you wish to file an RFE, please do so in IssueZilla (https://xith3d.dev.java.net/servlets/ProjectIssues) so it can be tracked more easily :slight_smile:

Cheers,

Will.