🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Texture Blending

Started by
11 comments, last by Blue*Omega 23 years, 11 months ago
about altering the colours of a texture did u try when lightings enabled
glEnable(GL_COLOR_MATERIAL);
glEnable(GL_BLEND);
glColor(1,0,0)
// draw texture

try one of these texture thingies

glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_BLEND);
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
Advertisement
I''m pretty new to Opengl, but wouldn''t it work if u just precalculate the texture u want and save that texture...
Just an idea...

Phil
Visit Rarebyte! and no!, there are NO kangaroos in Austria (I got this question a few times over in the states ;) )
the problem with that is u will use heaps and i mean heaps of textures , though granted it is the quickest way in execution

This topic is closed to new replies.

Advertisement