Skip to main content
GameDev.net gamedev.net
🔒 Locked

multitexturing alpha masking

Started by floyd6 Dec 19, 2008 at 4:18 AM 0 replies 350+ views
Original Post
floyd6
floyd6
I want to texture a quad so it look like this: (2 textures) and this: (3 textures) Having these 3 textures: How do I accomplish that? Do these bitmaps have to have an alpha channel? Thanks!
V-man
V-man
Use shaders

some links to learn shaders
http://lumina.sourceforge.net/Tutorials.html
http://www.lighthouse3d.com/

and there is the actual code that does exactly what you want
http://www.opengl.org/wiki/index.php/Multitexture_with_GLSL

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.