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

View file

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