Use the alphachannel as a texture stage...

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
User avatar
Hipshot
Posts: 1548
Joined: Sun Jan 20, 2002 8:00 am

Use the alphachannel as a texture stage...

Post by Hipshot »

Is it possible to, in anyway, call the alpha channel of a tga, to use as a texture stage. As an example, I would like to use the alpha of a lamp as the "glow" stage in the shader... Or, use that alpha as the glow for a totally different lamp, not the same. Hope you understand what I mean.
Q3Map2 2516 -> http://www.zfight.com/misc/files/q3/q3map_2.5.16_win32_x86.zip
Q3Map2 FS_20g -> http://www.zfight.com/misc/files/q3/q3map2_fs_20g.rar
GtkRadiant 140 -> http://www.zfight.com/misc/files/q3/GtkRadiantSetup-1.4.0-Q3RTCWET.exe
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: Use the alphachannel as a texture stage...

Post by ^misantropia^ »

You can't. The alpha channel isn't stored separately inside the engine, it's all RGBA data.
Post Reply