]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/map_red-planet.shader
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 675101b4bd9785f8dcf9dc7cb7bcfa4d9366ebd5..45980b5753dc04bce216ce8ec6076f659467299b 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