Advertisement Jump to content


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


Multiply textures?

This topic is 5847 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

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?

Share this post

Link to post
Share on other sites
multi-texturing where the second texture units blend mode is set to GL_MODULATE, ie,

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]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!