]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/map_solarium.shader
Squashed commit of the following:
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_solarium.shader
diff --git a/scripts/map_solarium.shader b/scripts/map_solarium.shader
new file mode 100644 (file)
index 0000000..a498374
--- /dev/null
@@ -0,0 +1,64 @@
+textures/map_solarium/waterfall
+{
+       qer_editorimage textures/map_solarium/waterfall/water2.tga
+       qer_trans 20
+       cull disable
+       surfaceparm trans
+
+       {
+               map textures/map_solarium/waterfall/water2.tga  
+               tcMod scroll 0 -1.9
+               blendfunc blend
+       
+       }
+               dpreflectcube cubemaps/default/sky
+       {
+               map $lightmap
+               blendfunc add
+               tcGen lightmap
+       }
+}
+
+textures/map_solarium/water4
+{
+       qer_editorimage textures/map_solarium/water4/water4.tga
+       qer_trans 20
+       surfaceparm nomarks
+       surfaceparm trans 
+       surfaceparm water
+       surfaceparm nolightmap
+       cull none
+       q3map_globaltexture
+       tessSize 256
+
+       {
+               map textures/map_solarium/water4/water4.tga
+               tcmod scale 0.3 0.4
+               tcMod scroll 0.05 0.05
+               blendfunc add
+               alphaGen vertex
+       }
+               dpreflectcube cubemaps/default/sky
+       {
+               map $lightmap
+               blendfunc add
+               tcGen lightmap
+       }
+       dp_water 0.1 1.2  1.4 0.7  1 1 1  1 1 1  0.1
+}
+
+textures/map_solarium/cubemap_glass
+{
+       qer_editorimage textures/map_solarium/cubemap_glass/env2.tga
+       surfaceparm trans
+       cull disable
+       qer_trans 0.5
+
+       {
+               map textures/map_solarium/cubemap_glass/env2.tga
+               blendfunc add
+               tcgen environment
+
+       }
+
+}