Use alpha maps on interior textures?
by Eric Forhan · in Torque Game Engine · 05/24/2004 (10:05 pm) · 2 replies
Does Torque allow the use of alpha maps to limit where an environmental map will display on interior textures?
I've tried it, and it doesn't seem to. However, PSP8.0 is flaky on making PNGs with an alpha channel, so I may have done it wrong.
I've tried it, and it doesn't seem to. However, PSP8.0 is flaky on making PNGs with an alpha channel, so I may have done it wrong.
About the author
#2
I must admit that it's a bit out of my league, though, if it requires engine changes. ;)
I can definately see some uses, especially for making only parts of a texture to be e-mapped.
05/24/2004 (10:52 pm)
Great, Josh. Thanks. I must admit that it's a bit out of my league, though, if it requires engine changes. ;)
I can definately see some uses, especially for making only parts of a texture to be e-mapped.
Torque Owner Prairie Games
Prairie Games, Inc.
If it doesn't, all you/someone needs to do is:
Pass 1: Environment Map
Pass 2: Alpha mask with source GL_ONE_MINUS_SRC_ALPHA and dest GL_SRC_ALPHA