Cull.Front

static Cull Front

Description

Discard if the front of the triangle face is pointing towards the camera. This is opposite the default behavior.

Examples

Here’s setting FaceCull to Front, which is the opposite of the default behavior. On a sphere, this is a little hard to see, but you might notice here that the lighting is for the back side of the sphere!

matCull = Material.Default.Copy();
matCull.FaceCull = Cull.Front;

FaceCull material example




Found an issue with these docs, or have some additional questions? Create an Issue on Github!