PDA

View Full Version : blending problem + cullface



zed
08-21-2008, 10:29 PM
A/
(delete)
ignore this, my cockup.
actually thats a strange term,

person A - theres been a [censored] up here
person B - what leads u to conclude theres been a [censored] up there!
person A - elementary my dear watson, notice if u will the discarded durex wrapper .....


B/ I havent thought about this before but
for drawing the other side of some polygons, whats the best method

either changing
glFrontFace( GL_CCW -> GL_CW )
or
glCullFace( GL_BACK -> GL_FRONT )

Im guessing it doesnt make a difference (though apart from depth offsets)

Ilian Dinev
08-21-2008, 11:55 PM
I'd speculate switching between GL_CCW and GL_CW would be best. Otherwise the driver might recompile shaders, or get somewhat confused when recompiling shaders.