ape2man Posted June 9, 2002 Share Posted June 9, 2002 Help!! how do you make textures transparent please help xcom yoda master ill suck your dick if you help me. Link to comment Share on other sites More sharing options...
Xcom Posted June 9, 2002 Share Posted June 9, 2002 Depends on what you wanna make. Usually, you must create 32bits TGA file with the alpha channel. A channel marks the area which should be transparent. Then you write a shader, smth in these lines: path/texture { { map path/texture blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA } { map $lightmap blendFunc GL_DST_COLOR GL_SRC_COLOR } } The code may vary depending on the effect you wanna achieve. Link to comment Share on other sites More sharing options...
gog Posted June 9, 2002 Share Posted June 9, 2002 could u repete that in stupid terms? gog Link to comment Share on other sites More sharing options...
RichDiesal Posted June 9, 2002 Share Posted June 9, 2002 That's about as simple as shaders can be explained. Link to comment Share on other sites More sharing options...
ape2man Posted June 10, 2002 Author Share Posted June 10, 2002 Its not that : if you look at http://www.jedioutcastmaps.com/core/210/s1.jpg you see that transparent thing in the middel . how do you do that in GTK ... o yea how do you trigger hurt and die freaking kyle die. Link to comment Share on other sites More sharing options...
Aniwan Posted June 10, 2002 Share Posted June 10, 2002 that is a func_glass with the texture doomgiver/mapd on it. Some textures are made to be transparent to use on a func_glass or a func_breakable.. follow this link for a trigger_hurt tutorial. http://mappers.uffiles.com/tutorials.php?action=view&ID=32 Link to comment Share on other sites More sharing options...
Absath Posted June 10, 2002 Share Posted June 10, 2002 also if you want the falling animation/scream and the fade to black, make sure you tick the "falling" box =P -Abs Link to comment Share on other sites More sharing options...
Xcom Posted June 10, 2002 Share Posted June 10, 2002 Originally posted by ape2man how do you do that in GTK You don't do that IN GTK. It's just a shader that does that. And I said that the shader code may vary. Your example is probably done like this: path/texture { q3map_nolightmap { map path/texture blendFunc GL_ONE GL_ONE } } Link to comment Share on other sites More sharing options...
ape2man Posted June 10, 2002 Author Share Posted June 10, 2002 Xcom 1 more question. A lot of the default shaders dont work becease they cant find the texture do you have this problem too. ps: i did extract all the textures to base\textures\ Link to comment Share on other sites More sharing options...
Xcom Posted June 10, 2002 Share Posted June 10, 2002 Originally posted by ape2man Xcom 1 more question. A lot of the default shaders dont work becease they cant find the texture do you have this problem too. Where? In the game or Radiant? There are quite a few bogus shaders there, yes. Link to comment Share on other sites More sharing options...
ape2man Posted June 11, 2002 Author Share Posted June 11, 2002 Ok now for the dick sukking when can i come over. :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.