GL_CONSTANT_ALPHA ??
Posted: Mon Jan 04, 2010 7:13 pm
Greetings All,
I wasn't able to find this topic in the forum so I'm hoping that somebody might know if there is an irrlicht material system equivalent way of dealing with the following code:
Im pretty sure I know the answer, that EMT_ONETEXTURE_BLEND is not capable of handling this, but I just want to make sure Im not missing something.
Thanks
-b
I wasn't able to find this topic in the forum so I'm hoping that somebody might know if there is an irrlicht material system equivalent way of dealing with the following code:
Code: Select all
glEnable(GL_BLEND);
glBlendFunc(GL_CONSTANT_ALPHA, GL_CONSTANT_ALPHA);
glBlendColor(1.0f, 1.0f, 1.0f, 0.5f);
glEnable(GL_ALPHA_TEST);
glAlphaFunc(GL_GREATER, 0);
Thanks
-b