Work on the mirror material for endlrain
This commit is contained in:
parent
38221b86e6
commit
b944425a1d
1 changed files with 16 additions and 5 deletions
|
@ -1,10 +1,21 @@
|
|||
streetglass
|
||||
{
|
||||
portal
|
||||
|
||||
if $programs
|
||||
polygonOffset 1
|
||||
diffusemap "textures/sfx/mirror.tga"
|
||||
normalmap "textures/sfx/mirror_n.tga"
|
||||
|
||||
{
|
||||
map glass_dark
|
||||
blendFunc add
|
||||
tcMod scale -4.5 1.0
|
||||
depthWrite
|
||||
program lightmapped_reflect
|
||||
map $reflection
|
||||
}
|
||||
{
|
||||
map textures/sfx/reflection.tga
|
||||
blendFunc filter
|
||||
tcGen environment
|
||||
}
|
||||
else
|
||||
portal
|
||||
endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue