Merge remote branch 'refs/remotes/origin/diabolik/facility114-team'
[xonotic/xonotic-maps.pk3dir.git] / scripts / decals.shader
index ce600a061d6e505cb63eecb254883290744851b1..2aa926fb489ec726fe473f1ffa513ecdd0548ce6 100644 (file)
-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
+textures/decals/scorch01
+{
+       qer_editorimage textures/decals/scorch01
+
+       surfaceparm trans
+       surfaceparm nonsolid
+       surfaceparm nodlight
+       surfaceparm nolightmap
+
+       polygonOffset
+       sort 6
+       cull none
+
+       {
+               map textures/decals/scorch01
+               blendFunc filter
+               rgbgen identity
+       }
+}
+
+textures/decals/scorch02
+{
+       qer_editorimage textures/decals/scorch02
+
+       surfaceparm trans
+       surfaceparm nonsolid
+       surfaceparm nodlight
+       surfaceparm nolightmap
+
+       polygonOffset
+       sort 6
+       cull none
+
+
+       {
+               map textures/decals/scorch02
+               blendFunc filter
+               rgbgen identity
+       }
+
+}
+
+
+textures/decals/splatter01
+{
+       qer_editorimage textures/decals/splatter01
+
+       surfaceparm trans
+       surfaceparm nonsolid
+       surfaceparm nodlight
+       surfaceparm nolightmap
+
+       polygonOffset
+       sort 6
+       cull none
+
+
+       {
+               map textures/decals/splatter01
+               blendFunc filter
+               rgbgen identity
+       }
+}
+
+textures/decals/splatter02
+{
+       qer_editorimage textures/decals/splatter02
+
+       surfaceparm trans
+       surfaceparm nonsolid
+       surfaceparm nodlight
+       surfaceparm nolightmap
+
+       polygonOffset
+       sort 6
+       cull none
+
+
+       {
+               map textures/decals/splatter02
+               blendFunc filter
+               rgbgen identity
+       }
+}
+textures/decals/splatter03
+{
+       qer_editorimage textures/decals/splatter03
+
+       surfaceparm trans
+       surfaceparm nonsolid
+       surfaceparm nodlight
+       surfaceparm nolightmap
+
+       polygonOffset
+       sort 6
+       cull none
+
+
+
+       {
+               map textures/decals/splatter03
+               blendFunc filter
+               rgbgen identity
+       }
+}
+
+textures/decals/splatter04
+{
+       qer_editorimage textures/decals/splatter04
+
+       surfaceparm trans
+       surfaceparm nonsolid
+       surfaceparm nodlight
+       surfaceparm nolightmap
+
+       polygonOffset
+       sort 6
+       cull none
+
+
+       {
+               map textures/decals/splatter04
+               blendFunc filter
+               rgbgen identity
+       }
+}
+
+textures/decals/splatter05
+{
+       qer_editorimage textures/decals/splatter05
+
+       surfaceparm trans
+       surfaceparm nonsolid
+       surfaceparm nodlight
+       surfaceparm nolightmap
+
+       polygonOffset
+       sort 6
+       cull none
+
+
+       {
+               map textures/decals/splatter05
+               blendFunc filter
+               rgbgen identity
+       }
+}