]> git.xonotic.org Git - xonotic/xonotic-nexcompat.pk3dir.git/blobdiff - scripts/terrain_dotproduct2.shader
cleanup: move env/ models/ scripts/ textures/ to compat (step 1: copy)
[xonotic/xonotic-nexcompat.pk3dir.git] / scripts / terrain_dotproduct2.shader
diff --git a/scripts/terrain_dotproduct2.shader b/scripts/terrain_dotproduct2.shader
new file mode 100644 (file)
index 0000000..f8cec2c
--- /dev/null
@@ -0,0 +1,207 @@
+// ======================================================================
+// DotProduct2 Terrain blending
+// ======================================================================
+
+textures/terrain_dotproduct2/leafs01-rock02
+{
+       qer_editorimage textures/terrain_dotproduct2/leafs01-rock02
+       
+       q3map_lightmapSampleOffset 8
+       q3map_globalTexture
+       q3map_nonplanar
+       q3map_shadeangle 95
+
+       surfaceparm dust
+
+       q3map_alphaMod dotproduct2 ( 0 0 0.95 )
+
+       {
+               map textures/terrain_data/rock02.tga    // Primary
+       }
+
+       {
+               map textures/terrain_data/leafs01.tga   // Secondary
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
+               alphaGen vertex
+       }
+
+       {
+               map $lightmap
+               blendFunc GL_DST_COLOR GL_ZERO
+       }
+}
+
+textures/terrain_dotproduct2/mudground01_rock01        
+{
+       qer_editorimage textures/terrain_dotproduct2/mudground01_rock01
+       
+       q3map_lightmapSampleOffset 8
+       q3map_globalTexture
+       q3map_nonplanar
+       q3map_shadeangle 60
+
+       surfaceparm dust
+
+       q3map_alphaMod dotproduct2 ( 0 0 0.95 )
+
+       {
+               map textures/terrain_data/rock01.tga    // Primary
+       }
+
+       {
+               map textures/terrain_data/mudground01.tga       // Secondary
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
+               alphaGen vertex
+       }
+
+       {
+               map $lightmap
+               blendFunc GL_DST_COLOR GL_ZERO
+       }
+}
+
+textures/terrain_dotproduct2/mudground02-rock06
+{
+       qer_editorimage textures/terrain_dotproduct2/mudground02-rock06
+       
+       q3map_lightmapSampleOffset 8
+       q3map_globalTexture
+       q3map_nonplanar
+       q3map_shadeangle 66
+
+       surfaceparm dust
+
+       q3map_alphaMod dotproduct2 ( 0 0 0.95 )
+
+       {
+               map textures/terrain_data/rock06.tga    // Primary
+       }
+
+       {
+               map textures/terrain_data/mudground02.tga       // Secondary
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
+               alphaGen vertex
+       }
+
+       {
+               map $lightmap
+               blendFunc GL_DST_COLOR GL_ZERO
+       }
+}
+
+textures/terrain_dotproduct2/sand-rock07
+{
+       qer_editorimage textures/terrain_dotproduct2/sand-rock07
+       
+       q3map_lightmapSampleOffset 8
+       q3map_globalTexture
+       q3map_nonplanar
+       q3map_shadeangle 90
+
+       surfaceparm dust
+
+       q3map_alphaMod dotproduct2 ( 0 0 0.8 )
+
+       {
+               map textures/terrain_data/rock07.tga    // Primary
+       }
+
+       {
+               map textures/terrain_data/sand.tga      // Secondary
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
+               alphaGen vertex
+       }
+
+       {
+               map $lightmap
+               blendFunc GL_DST_COLOR GL_ZERO
+       }
+}
+
+textures/terrain_dotproduct2/snow-rock05
+{
+       qer_editorimage textures/terrain_dotproduct2/snow-rock05
+       
+       q3map_lightmapSampleOffset 8
+       q3map_globalTexture
+       q3map_nonplanar
+       q3map_shadeangle 75
+
+       surfaceparm dust
+
+       q3map_alphaMod dotproduct2 ( 0 0 0.8 )
+
+       {
+               map textures/terrain_data/rock05.tga    // Primary
+       }
+
+       {
+               map textures/terrain_data/snow01.tga    // Secondary
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
+               alphaGen vertex
+       }
+
+       {
+               map $lightmap
+               blendFunc GL_DST_COLOR GL_ZERO
+       }
+}
+
+textures/terrain_dotproduct2/mossrock02-mudground04
+{
+       qer_editorimage textures/terrain_dotproduct2/mossrock02-mudground04
+       
+       q3map_lightmapSampleOffset 8
+       q3map_globalTexture
+       q3map_nonplanar
+       q3map_shadeangle 90
+
+       surfaceparm dust
+
+       q3map_alphaMod dotproduct2 ( 0.2 0.5 0.9 )
+
+       {
+               map textures/terrain_data/mudground04.tga       // Primary
+       }
+
+       {
+               map textures/terrain_data/mossrock02.tga        // Secondary
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
+               alphaGen vertex
+       }
+
+       {
+               map $lightmap
+               blendFunc GL_DST_COLOR GL_ZERO
+       }
+}
+
+textures/terrain_dotproduct2/grass01-rock05
+{
+       qer_editorimage textures/terrain_dotproduct2/grass01-rock05
+       
+       q3map_lightmapSampleOffset 8
+       q3map_globalTexture
+       q3map_nonplanar
+       q3map_shadeangle 90
+
+       surfaceparm dust
+
+       q3map_alphaMod dotproduct2 ( 0.0 0.0 0.9 )
+
+       {
+               map textures/terrain_data/rock05.tga    // Primary
+       }
+
+       {
+               map textures/terrain_data/grass01.tga   // Secondary
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
+               alphaGen vertex
+       }
+
+       {
+               map $lightmap
+               blendFunc GL_DST_COLOR GL_ZERO
+       }
+}
+