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
|
streetglass
|
||||||
{
|
{
|
||||||
portal
|
|
||||||
|
if $programs
|
||||||
|
polygonOffset 1
|
||||||
|
diffusemap "textures/sfx/mirror.tga"
|
||||||
|
normalmap "textures/sfx/mirror_n.tga"
|
||||||
|
|
||||||
{
|
{
|
||||||
map glass_dark
|
program lightmapped_reflect
|
||||||
blendFunc add
|
map $reflection
|
||||||
tcMod scale -4.5 1.0
|
|
||||||
depthWrite
|
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
map textures/sfx/reflection.tga
|
||||||
|
blendFunc filter
|
||||||
|
tcGen environment
|
||||||
|
}
|
||||||
|
else
|
||||||
|
portal
|
||||||
|
endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue