- replaced deprecated alpha testing with shader code.
This commit is contained in:
parent
84a49e37ee
commit
ed8a21fd86
19 changed files with 42 additions and 96 deletions
|
|
@ -150,7 +150,6 @@ void OpenGLFrameBuffer::InitializeState()
|
|||
glEnable(GL_TEXTURE_2D);
|
||||
glDisable(GL_LINE_SMOOTH);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
glAlphaFunc(GL_GEQUAL,0.5f);
|
||||
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
|
||||
glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue