Multiply textures?

Started by
0 comments, last by ProfEich 21 years, 2 months ago
Hi! How can I use a multiply-effect in OpenGL. Textures should get multiplied. The texture is over another texture and shoulg get multiplied. How?
Advertisement
multi-texturing where the second texture units blend mode is set to GL_MODULATE, ie,
glTexEnvi(GL_TEXTURE_ENV,GL_TEXTURE_ENV_MODE,GL_MODULATE);

or simply use two passes, with the blend mode as glBlendFunc(GL_ZERO,GL_SRC_COLOUR); for the second pass

| - Project-X - my mega project.. big things comming soon - | - adDeath - an ad blocker I made - | - email me - |

[edited by - RipTorn on January 18, 2003 6:42:58 AM]

This topic is closed to new replies.

Advertisement