Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - niyaro

Pages: [1]
1
Graphics / glCullFace makes SFML blind
« on: June 23, 2011, 01:56:09 pm »
Hi,
I don't know for the rest of SFML (2.0) rendering, cause I use it's native functions only to draw text, but here we go:
Code: [Select]

glEnable (GL_CULL_FACE);
glCullFace(GL_BACK);

//glFrontFace(GL_CCW); This is an OpenGL's default
window->Draw(text); // doesn't render anything

glFrontFace(GL_CW);
window->Draw(text); // but this works fine

That means it's safe to assume that at least for text quads SFML uses wrong winding order. I think it should be considered a bug, Laurent :)

Pages: [1]