X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=blobdiff_plain;f=scripts%2Fdecals.shader;h=2aa926fb489ec726fe473f1ffa513ecdd0548ce6;hp=ce600a061d6e505cb63eecb254883290744851b1;hb=dfbb931b9b75edc1fdc31c312e3de2a7e7502ad0;hpb=c172638388ff75df84d240badcde6ff208ef97d1 diff --git a/scripts/decals.shader b/scripts/decals.shader index ce600a06..2aa926fb 100644 --- a/scripts/decals.shader +++ b/scripts/decals.shader @@ -1,144 +1,147 @@ -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 - } -} +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 + } +}