]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
Add decals shader & textures
authorJakob MG <jakob_mg@hotmail.com>
Sun, 23 May 2010 13:59:31 +0000 (15:59 +0200)
committerJakob MG <jakob_mg@hotmail.com>
Sun, 23 May 2010 13:59:31 +0000 (15:59 +0200)
scripts/decals.shader [new file with mode: 0644]
textures/decals/scorch01.tga [new file with mode: 0644]
textures/decals/scorch01_norm.tga [new file with mode: 0644]
textures/decals/scorch02.tga [new file with mode: 0644]
textures/decals/splatter01.tga [new file with mode: 0644]
textures/decals/splatter02.tga [new file with mode: 0644]
textures/decals/splatter03.tga [new file with mode: 0644]
textures/decals/splatter04.tga [new file with mode: 0644]
textures/decals/splatter05.tga [new file with mode: 0644]

diff --git a/scripts/decals.shader b/scripts/decals.shader
new file mode 100644 (file)
index 0000000..ce600a0
--- /dev/null
@@ -0,0 +1,144 @@
+textures/decals/scorch01\r
+{\r
+       qer_editorimage textures/decals/scorch01\r
+\r
+       noPicMip\r
+       noMipMaps\r
+       surfaceparm trans\r
+       surfaceparm nonsolid\r
+       surfaceparm nodlight\r
+       polygonOffset\r
+       sort 6\r
+       cull none\r
+\r
+       {\r
+               map textures/decals/scorch01\r
+               blendFunc GL_DST_COLOR GL_SRC_COLOR\r
+               rgbgen identity\r
+       }\r
+\r
+       {\r
+               map $lightmap\r
+               blendFunc GL_ZERO GL_ONE\r
+       }\r
+}\r
+\r
+textures/decals/scorch02\r
+{\r
+       qer_editorimage textures/decals/scorch02\r
+\r
+       noPicMip\r
+       noMipMaps\r
+       surfaceparm trans\r
+       surfaceparm nonsolid\r
+       surfaceparm nodlight\r
+       polygonOffset\r
+       sort 6\r
+       cull none\r
+\r
+       {\r
+               map textures/decals/scorch02\r
+               blendFunc GL_DST_COLOR GL_SRC_COLOR\r
+               rgbgen identity\r
+       }\r
+\r
+       {\r
+               map $lightmap\r
+               blendFunc GL_ZERO GL_ONE\r
+       }\r
+}\r
+\r
+\r
+textures/decals/splatter01\r
+{\r
+       qer_editorimage textures/decals/splatter01\r
+\r
+       surfaceparm trans\r
+       surfaceparm nolightmap\r
+       surfaceparm nonsolid\r
+       surfaceparm nodlight\r
+       polygonOffset\r
+       sort 6\r
+       cull none\r
+\r
+       {\r
+               map textures/decals/splatter01\r
+               blendFunc GL_DST_COLOR GL_SRC_COLOR\r
+               rgbgen identity\r
+       }\r
+}\r
+\r
+textures/decals/splatter02\r
+{\r
+       qer_editorimage textures/decals/splatter02\r
+\r
+       surfaceparm trans\r
+       surfaceparm nolightmap\r
+       surfaceparm nonsolid\r
+       surfaceparm nodlight\r
+       polygonOffset\r
+       sort 6\r
+       cull none\r
+\r
+       {\r
+               map textures/decals/splatter02\r
+               blendFunc GL_DST_COLOR GL_SRC_COLOR\r
+               rgbgen identity\r
+       }\r
+}\r
+textures/decals/splatter03\r
+{\r
+       qer_editorimage textures/decals/splatter03\r
+\r
+       surfaceparm trans\r
+       surfaceparm nolightmap\r
+       surfaceparm nonsolid\r
+       surfaceparm nodlight\r
+       polygonOffset\r
+       sort 6\r
+       cull none\r
+\r
+       {\r
+               map textures/decals/splatter03\r
+               blendFunc GL_DST_COLOR GL_SRC_COLOR\r
+               rgbgen identity\r
+       }\r
+}\r
+\r
+textures/decals/splatter04\r
+{\r
+       qer_editorimage textures/decals/splatter04\r
+\r
+       surfaceparm trans\r
+       surfaceparm nolightmap\r
+       surfaceparm nonsolid\r
+       surfaceparm nodlight\r
+       polygonOffset\r
+       sort 6\r
+       cull none\r
+\r
+       {\r
+               map textures/decals/splatter04\r
+               blendFunc GL_DST_COLOR GL_SRC_COLOR\r
+               rgbgen identity\r
+       }\r
+}\r
+\r
+textures/decals/splatter05\r
+{\r
+       qer_editorimage textures/decals/splatter05\r
+\r
+       surfaceparm trans\r
+       surfaceparm nolightmap\r
+       surfaceparm nonsolid\r
+       surfaceparm nodlight\r
+       polygonOffset\r
+       sort 6\r
+       cull none\r
+\r
+       {\r
+               map textures/decals/splatter05\r
+               blendFunc GL_DST_COLOR GL_SRC_COLOR\r
+               rgbgen identity\r
+       }\r
+}\r
diff --git a/textures/decals/scorch01.tga b/textures/decals/scorch01.tga
new file mode 100644 (file)
index 0000000..5b2b6f0
Binary files /dev/null and b/textures/decals/scorch01.tga differ
diff --git a/textures/decals/scorch01_norm.tga b/textures/decals/scorch01_norm.tga
new file mode 100644 (file)
index 0000000..47dd36d
Binary files /dev/null and b/textures/decals/scorch01_norm.tga differ
diff --git a/textures/decals/scorch02.tga b/textures/decals/scorch02.tga
new file mode 100644 (file)
index 0000000..f7d2aed
Binary files /dev/null and b/textures/decals/scorch02.tga differ
diff --git a/textures/decals/splatter01.tga b/textures/decals/splatter01.tga
new file mode 100644 (file)
index 0000000..1b6fcfb
Binary files /dev/null and b/textures/decals/splatter01.tga differ
diff --git a/textures/decals/splatter02.tga b/textures/decals/splatter02.tga
new file mode 100644 (file)
index 0000000..14f0a2c
Binary files /dev/null and b/textures/decals/splatter02.tga differ
diff --git a/textures/decals/splatter03.tga b/textures/decals/splatter03.tga
new file mode 100644 (file)
index 0000000..c600c36
Binary files /dev/null and b/textures/decals/splatter03.tga differ
diff --git a/textures/decals/splatter04.tga b/textures/decals/splatter04.tga
new file mode 100644 (file)
index 0000000..fd58eba
Binary files /dev/null and b/textures/decals/splatter04.tga differ
diff --git a/textures/decals/splatter05.tga b/textures/decals/splatter05.tga
new file mode 100644 (file)
index 0000000..022a492
Binary files /dev/null and b/textures/decals/splatter05.tga differ