HomeCalendarFAQSearchMemberlistRegisterLog in

Share | 
 

 Making Glass

View previous topic View next topic Go down 
AuthorMessage
KAS
Admin
avatar

Posts : 505
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
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» In Case of Collapse of Civilization Break Glass
» Hot Toys making Indiana Jones figures, hints at Star Wars as well...
» "Peace-making" bludgeons from the USA??
» making a club logo
» Blacksmith making a plough

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: