• Advertisement


This topic is now archived and is closed to further replies.

blending with a constant color on low spec hardware (like tnt)

This topic is 5132 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i want to create a transparent surface with emboss bumpmapping. for the emboss bumpmapping is use the alpha channel. so i cannot use it anymore for controlling how transparent the surface will be. I figured out it is possible to use the following with opengl 1.4: glblendcolor(1,1,1,0.1); //0.0 = solid 1.0 = transparent glBlendFunc(GL_SRC_ALPHA, GL_CONSTANT_ALPHA); //now object is not affected by alpha channel of texture This seems to do the trick. But only on high end graphics cards as a test on a TNT graphics card gives a 0-1 fps framerate. Using only: glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA); Gives me back 33fps. But without the control on how transparent the surface is. Is there a way do both on a TNT? http://3das.noeska.com - Create 3D Adventure games without programming.

Share this post

Link to post
Share on other sites

  • Advertisement