From: Jakob MG Date: Sun, 23 May 2010 13:59:31 +0000 (+0200) Subject: Add decals shader & textures X-Git-Tag: xonotic-v0.1.0preview~172 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;ds=sidebyside;h=c172638388ff75df84d240badcde6ff208ef97d1;hp=34a67281ce079fd346e4834cda83143416648a3e;p=xonotic%2Fxonotic-maps.pk3dir.git Add decals shader & textures --- diff --git a/scripts/decals.shader b/scripts/decals.shader new file mode 100644 index 00000000..ce600a06 --- /dev/null +++ b/scripts/decals.shader @@ -0,0 +1,144 @@ +textures/decals/scorch01 +{ + qer_editorimage textures/decals/scorch01 + + noPicMip + noMipMaps + surfaceparm trans + surfaceparm nonsolid + surfaceparm nodlight + polygonOffset + sort 6 + cull none + + { + map textures/decals/scorch01 + blendFunc GL_DST_COLOR GL_SRC_COLOR + rgbgen identity + } + + { + map $lightmap + blendFunc GL_ZERO GL_ONE + } +} + +textures/decals/scorch02 +{ + qer_editorimage textures/decals/scorch02 + + noPicMip + noMipMaps + surfaceparm trans + surfaceparm nonsolid + surfaceparm nodlight + polygonOffset + sort 6 + cull none + + { + map textures/decals/scorch02 + blendFunc GL_DST_COLOR GL_SRC_COLOR + rgbgen identity + } + + { + map $lightmap + blendFunc GL_ZERO GL_ONE + } +} + + +textures/decals/splatter01 +{ + qer_editorimage textures/decals/splatter01 + + surfaceparm trans + surfaceparm nolightmap + surfaceparm nonsolid + surfaceparm nodlight + polygonOffset + sort 6 + cull none + + { + map textures/decals/splatter01 + blendFunc GL_DST_COLOR GL_SRC_COLOR + rgbgen identity + } +} + +textures/decals/splatter02 +{ + qer_editorimage textures/decals/splatter02 + + surfaceparm trans + surfaceparm nolightmap + surfaceparm nonsolid + surfaceparm nodlight + polygonOffset + sort 6 + cull none + + { + map textures/decals/splatter02 + blendFunc GL_DST_COLOR GL_SRC_COLOR + rgbgen identity + } +} +textures/decals/splatter03 +{ + qer_editorimage textures/decals/splatter03 + + surfaceparm trans + surfaceparm nolightmap + surfaceparm nonsolid + surfaceparm nodlight + polygonOffset + sort 6 + cull none + + { + map textures/decals/splatter03 + blendFunc GL_DST_COLOR GL_SRC_COLOR + rgbgen identity + } +} + +textures/decals/splatter04 +{ + qer_editorimage textures/decals/splatter04 + + surfaceparm trans + surfaceparm nolightmap + surfaceparm nonsolid + surfaceparm nodlight + polygonOffset + sort 6 + cull none + + { + map textures/decals/splatter04 + blendFunc GL_DST_COLOR GL_SRC_COLOR + rgbgen identity + } +} + +textures/decals/splatter05 +{ + qer_editorimage textures/decals/splatter05 + + surfaceparm trans + surfaceparm nolightmap + surfaceparm nonsolid + surfaceparm nodlight + polygonOffset + sort 6 + cull none + + { + map textures/decals/splatter05 + blendFunc GL_DST_COLOR GL_SRC_COLOR + rgbgen identity + } +} diff --git a/textures/decals/scorch01.tga b/textures/decals/scorch01.tga new file mode 100644 index 00000000..5b2b6f01 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 index 00000000..47dd36d2 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 index 00000000..f7d2aedf 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 index 00000000..1b6fcfb8 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 index 00000000..14f0a2c0 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 index 00000000..c600c362 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 index 00000000..fd58eba2 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 index 00000000..022a492e Binary files /dev/null and b/textures/decals/splatter05.tga differ