More derivedmesh culling confusement... it should be enabled when double-
sided shaded lighting is used...
This commit is contained in:
Ton Roosendaal 2005-05-29 10:47:36 +00:00
parent c7b19d5066
commit dd79f7c8a8

@ -255,7 +255,8 @@ static void meshDM_drawFacesColored(DerivedMesh *dm, int useTwoSide, unsigned ch
/* there's a conflict here... twosided colors versus culling...? */ /* there's a conflict here... twosided colors versus culling...? */
/* defined by history, only texture faces have culling option */ /* defined by history, only texture faces have culling option */
/* we need that as mesh option builtin, next to double sided lighting */ /* we need that as mesh option builtin, next to double sided lighting */
// glEnable(GL_CULL_FACE); if(col1 && col2)
glEnable(GL_CULL_FACE);
glShadeModel(GL_SMOOTH); glShadeModel(GL_SMOOTH);
glBegin(glmode=GL_QUADS); glBegin(glmode=GL_QUADS);