From: cbrutail Date: Wed, 3 Nov 2010 18:29:00 +0000 (+0100) Subject: Ok, I think I got it working now. X-Git-Tag: xonotic-v0.1.0preview~42^2~2^2 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=commitdiff_plain;h=a23887d228871c6fc2a58e3d19063519d54743e8 Ok, I think I got it working now. --- diff --git a/scripts/logos.shader b/scripts/logos.shader new file mode 100644 index 00000000..663a7579 --- /dev/null +++ b/scripts/logos.shader @@ -0,0 +1,209 @@ +textures/logos/logo01_blue +{ + qer_editorimage textures/logos/logo01/logo01_blue.tga + + surfaceparm trans + surfaceparm nonsolid + surfaceparm nodlight + surfaceparm nolightmap + + polygonOffset + sort 6 + cull none + + { + map textures/logos/logo01/logo01_blue.tga + blendFunc filter + alphaFunc GT0 + rgbgen identity + } +} + +textures/logos/logo01_blue_glowy +{ + qer_editorimage textures/logos/logo01/logo01_blueg.tga + + surfaceparm trans + surfaceparm nonsolid + surfaceparm nodlight + surfaceparm nolightmap + + polygonOffset + sort 6 + cull none + + { + map textures/logos/logo01/logo01_blueg.tga + blendFunc filter + alphaFunc GT0 + rgbgen identity + } +} + +textures/logos/logo01_red +{ + qer_editorimage textures/logos/logo01/logo01_red.tga + + surfaceparm trans + surfaceparm nonsolid + surfaceparm nodlight + surfaceparm nolightmap + + polygonOffset + sort 6 + cull none + + { + map textures/logos/logo01/logo01_red.tga + blendFunc filter + alphaFunc GT0 + rgbgen identity + } +} + +textures/logos/logo01_red_glowy +{ + qer_editorimage textures/logos/logo01/logo01_redg.tga + + surfaceparm trans + surfaceparm nonsolid + surfaceparm nodlight + surfaceparm nolightmap + + polygonOffset + sort 6 + cull none + + { + map textures/logos/logo01/logo01_redg.tga + blendFunc filter + alphaFunc GT0 + rgbgen identity + } +} + +textures/logos/logo01_green +{ + qer_editorimage textures/logos/logo01/logo01_green.tga + + surfaceparm trans + surfaceparm nonsolid + surfaceparm nodlight + surfaceparm nolightmap + + polygonOffset + sort 6 + cull none + + { + map textures/logos/logo01/logo01_green.tga + blendFunc filter + alphaFunc GT0 + rgbgen identity + } +} + +textures/logos/logo01_green_glowy +{ + qer_editorimage textures/logos/logo01/logo01_greeng.tga + + surfaceparm trans + surfaceparm nonsolid + surfaceparm nodlight + surfaceparm nolightmap + + polygonOffset + sort 6 + cull none + + { + map textures/logos/logo01/logo01_greeng.tga + blendFunc filter + alphaFunc GT0 + rgbgen identity + } +} + +textures/logos/logo01_yellow +{ + qer_editorimage textures/logos/logo01/logo01_yellow.tga + + surfaceparm trans + surfaceparm nonsolid + surfaceparm nodlight + surfaceparm nolightmap + + polygonOffset + sort 6 + cull none + + { + map textures/logos/logo01/logo01_yellow.tga + blendFunc filter + alphaFunc GT0 + rgbgen identity + } +} + +textures/logos/logo01_yellow_glowy +{ + qer_editorimage textures/logos/logo01/logo01_yellowg.tga + + surfaceparm trans + surfaceparm nonsolid + surfaceparm nodlight + surfaceparm nolightmap + + polygonOffset + sort 6 + cull none + + { + map textures/logos/logo01/logo01_yellowg.tga + blendFunc filter + alphaFunc GT0 + rgbgen identity + } +} + +textures/logos/logo02_red +{ + qer_editorimage textures/logos/logo02/logo02_red.tga + + surfaceparm trans + surfaceparm nonsolid + surfaceparm nodlight + surfaceparm nolightmap + + polygonOffset + sort 6 + cull none + + { + map textures/logos/logo02/logo02_red.tga + blendFunc filter + alphaFunc GT0 + rgbgen identity + } +} + +textures/logos/logo02_red_glowy +{ + qer_editorimage textures/logos/logo02/logo02_redg.tga + + surfaceparm trans + surfaceparm nonsolid + surfaceparm nodlight + surfaceparm nolightmap + + polygonOffset + sort 6 + cull none + + { + map textures/logos/logo02/logo02_redg.tga + blendFunc filter + alphaFunc GT0 + rgbgen identity + } +} \ No newline at end of file diff --git a/scripts/logos_logo01.shader b/scripts/logos_logo01.shader deleted file mode 100644 index cf2e64a8..00000000 --- a/scripts/logos_logo01.shader +++ /dev/null @@ -1,167 +0,0 @@ -textures/logos_logo01/logo01_blue -{ - qer_editorimage textures/logos/logo01/logo01_blue.tga - - surfaceparm trans - surfaceparm nonsolid - surfaceparm nodlight - surfaceparm nolightmap - - polygonOffset - sort 6 - cull none - - { - map textures/logos/logo01/logo01_blue.tga - blendFunc filter - alphaFunc GT0 - rgbgen identity - } -} - -textures/logos_logo01/logo01_blue_glowy -{ - qer_editorimage textures/logos/logo01/logo01_blueg.tga - - surfaceparm trans - surfaceparm nonsolid - surfaceparm nodlight - surfaceparm nolightmap - - polygonOffset - sort 6 - cull none - - { - map textures/logos/logo01/logo01_blueg.tga - blendFunc filter - alphaFunc GT0 - rgbgen identity - } -} - -textures/logos_logo01/logo01_red -{ - qer_editorimage textures/logos/logo01/logo01_red.tga - - surfaceparm trans - surfaceparm nonsolid - surfaceparm nodlight - surfaceparm nolightmap - - polygonOffset - sort 6 - cull none - - { - map textures/logos/logo01/logo01_red.tga - blendFunc filter - alphaFunc GT0 - rgbgen identity - } -} - -textures/logos_logo01/logo01_red_glowy -{ - qer_editorimage textures/logos/logo01/logo01_redg.tga - - surfaceparm trans - surfaceparm nonsolid - surfaceparm nodlight - surfaceparm nolightmap - - polygonOffset - sort 6 - cull none - - { - map textures/logos/logo01/logo01_redg.tga - blendFunc filter - alphaFunc GT0 - rgbgen identity - } -} - -textures/logos_logo01/logo01_green -{ - qer_editorimage textures/logos/logo01/logo01_green.tga - - surfaceparm trans - surfaceparm nonsolid - surfaceparm nodlight - surfaceparm nolightmap - - polygonOffset - sort 6 - cull none - - { - map textures/logos/logo01/logo01_green.tga - blendFunc filter - alphaFunc GT0 - rgbgen identity - } -} - -textures/logos_logo01/logo01_green_glowy -{ - qer_editorimage textures/logos/logo01/logo01_greeng.tga - - surfaceparm trans - surfaceparm nonsolid - surfaceparm nodlight - surfaceparm nolightmap - - polygonOffset - sort 6 - cull none - - { - map textures/logos/logo01/logo01_greeng.tga - blendFunc filter - alphaFunc GT0 - rgbgen identity - } -} - -textures/logos_logo01/logo01_yellow -{ - qer_editorimage textures/logos/logo01/logo01_yellow.tga - - surfaceparm trans - surfaceparm nonsolid - surfaceparm nodlight - surfaceparm nolightmap - - polygonOffset - sort 6 - cull none - - { - map textures/logos/logo01/logo01_yellow.tga - blendFunc filter - alphaFunc GT0 - rgbgen identity - } -} - -textures/logos_logo01/logo01_yellow_glowy -{ - qer_editorimage textures/logos/logo01/logo01_yellowg.tga - - surfaceparm trans - surfaceparm nonsolid - surfaceparm nodlight - surfaceparm nolightmap - - polygonOffset - sort 6 - cull none - - { - map textures/logos/logo01/logo01_yellowg.tga - blendFunc filter - alphaFunc GT0 - rgbgen identity - } -} \ No newline at end of file diff --git a/scripts/logos_logo02.shader b/scripts/logos_logo02.shader deleted file mode 100644 index a862b8d1..00000000 --- a/scripts/logos_logo02.shader +++ /dev/null @@ -1,41 +0,0 @@ -textures/logos_logo02/logo02_red -{ - qer_editorimage textures/logos/logo02/logo02_red.tga - - surfaceparm trans - surfaceparm nonsolid - surfaceparm nodlight - surfaceparm nolightmap - - polygonOffset - sort 6 - cull none - - { - map textures/logos/logo02/logo02_red.tga - blendFunc filter - alphaFunc GT0 - rgbgen identity - } -} - -textures/logos_logo02/logo02_red_glowy -{ - qer_editorimage textures/logos/logo02/logo02_redg.tga - - surfaceparm trans - surfaceparm nonsolid - surfaceparm nodlight - surfaceparm nolightmap - - polygonOffset - sort 6 - cull none - - { - map textures/logos/logo02/logo02_redg.tga - blendFunc filter - alphaFunc GT0 - rgbgen identity - } -} \ No newline at end of file