[Apple] Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeSearchRegisterLog in

 

 Making Glass

Go down 
AuthorMessage
KAS
Admin
KAS


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

Making Glass Empty
PostSubject: Making Glass   Making Glass EmptyWed 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…

Making Glass Shot0114
Back to top Go down
http://apple-urt.tk
 
Making Glass
Back to top 
Page 1 of 1

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: