Work on the mirror material for endlrain

This commit is contained in:
Marco Cawthorne 2023-11-18 08:49:55 -08:00
parent 38221b86e6
commit b944425a1d
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 16 additions and 5 deletions

View File

@ -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
}