HomeCalendarFAQSearchMemberlistRegisterLog in

Share | 
 

 Making Glass

Go down 
AuthorMessage
KAS
Admin
avatar

Posts : 504
Join date : 2011-08-20
Location : Germany/Bosnia

PostSubject: Making Glass   Wed Feb 01, 2012 1:28 pm

First you need is the Glass.tga Texture…
Download it here glass.tga
Second you need a fx Texture…
The FX Texture is making the reflection of your Glass!!!
You can use some different tinfx textures from your effects Folder.
Or you can use my kasfx.tga creation.
If you want to use my Texture…pls dont rename it Wink
Download it here kasfx.tga

Here are 2 shader examples wich i used for my Deathrun Map.

Code:
///////////////////////////////////////
///GLASS///
///////////////////////////////////////

textures/glass_folder/glass
{
   qer_editorimage textures/glass_folder/glass.tga
   qer_trans .5
   surfaceparm trans
   surfaceparm glass
   cull disable
   {
      map textures/fx_texture_folder/kasfx.tga
      tcgen environment
      blendFunc gl_one gl_one
      rgbGen identity
   }
   {
      map $lightmap
      blendFunc gl_zero gl_one
      rgbGen identity
   }
}

textures/glass_folder/glass1
{
   qer_editorimage textures/glass_folder/glass1.tga
   qer_trans .5
   surfaceparm trans
   surfaceparm glass
   cull disable
   {
      map textures/fx_texture_folder/kasfx.tga
      tcgen environment
      blendFunc gl_one gl_one
      rgbGen identity
   }
   {
      map $lightmap
      rgbGen identity
      blendFunc filter
   }
}

You can see the first shader on the left (glass) and the second on the right (glass1) site…

Back to top Go down
View user profile http://apple-urt.tk
 
Making Glass
Back to top 
Page 1 of 1
 Similar topics
-
» Glass
» how to get one muxxu Account back after getting banned. (no Garantee!)
» making opening book
» Chess for Glass
» If you're making a greensteel item in the near future, be aware ...

Permissions in this forum:You cannot reply to topics in this forum
[Apple] Forum :: Urban Terror Mapping :: All about Mapping "GTK/NET Radiant"-
Jump to: