Env-mapped glass, using 3 different textures (doors use the same texture which should...
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_red-planet.shader
index 675101b..45980b5 100644 (file)
@@ -1,3 +1,63 @@
+textures/map_red-planet/env1
+{
+       qer_editorimage textures/map_red-planet/env1.tga
+       surfaceparm trans
+       cull disable
+       qer_trans 0.5
+       {
+               map textures/map_red-planet/env1.tga
+               blendfunc GL_ONE GL_ONE
+               //rgbGen vertex
+               tcgen environment
+               //tcmod scale 4 4
+       }
+       /*{
+               map $lightmap
+               rgbGen identity
+               tcgen lightmap
+       }*/
+}
+
+textures/map_red-planet/env2
+{
+       qer_editorimage textures/map_red-planet/env2.tga
+       surfaceparm trans
+       cull disable
+       qer_trans 0.5
+       {
+               map textures/map_red-planet/env2.tga
+               blendfunc GL_ONE GL_ONE
+               //rgbGen vertex
+               tcgen environment
+               //tcmod scale 4 4
+       }
+       /*{
+               map $lightmap
+               rgbGen identity
+               tcgen lightmap
+       }*/
+}
+
+textures/map_red-planet/env3
+{
+       qer_editorimage textures/map_red-planet/env3.tga
+       surfaceparm trans
+       cull disable
+       qer_trans 0.5
+       {
+               map textures/map_red-planet/env3.tga
+               blendfunc GL_ONE GL_ONE
+               //rgbGen vertex
+               tcgen environment
+               //tcmod scale 4 4
+       }
+       /*{
+               map $lightmap
+               rgbGen identity
+               tcgen lightmap
+       }*/
+}
+
 textures/map_red-planet/distort_glass
 {
        qer_editorimage textures/map_red-planet/distort_glass.tga