From: cbrutail Date: Tue, 29 Jun 2010 12:03:20 +0000 (+0200) Subject: Some fx shaders, I think they might be useful. More to come soon. X-Git-Tag: xonotic-v0.1.0preview~160 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=98f9327d8362112d08af4861a6abda4d55622ec1;p=xonotic%2Fxonotic-maps.pk3dir.git Some fx shaders, I think they might be useful. More to come soon. --- diff --git a/scripts/xonotic-fx.shader b/scripts/xonotic-fx.shader new file mode 100644 index 00000000..320207f0 --- /dev/null +++ b/scripts/xonotic-fx.shader @@ -0,0 +1,141 @@ +//Shader file for fx +//Forcefield1 red +textures/fx/forcefield1-a +{ + qer_editorimage textures/fx/forcefields/forcefield1_a.tga + nopicmip + surfaceparm nolightmap + surfaceparm trans + cull none + surfaceparm nomarks + qer_trans 0.8 + + { + map textures/fx/forcefields/forcefield1_a.tga + tcGen environment + blendfunc GL_ONE GL_ONE + tcMod turb 0 0.25 0 0.5 + tcMod scroll -.5 -.3 + } +} +//Forcefield1 blue +textures/fx/forcefield1-b +{ + qer_editorimage textures/fx/forcefields/forcefield1_b.tga + nopicmip + surfaceparm nolightmap + surfaceparm trans + cull none + surfaceparm nomarks + qer_trans 0.8 + + { + map textures/fx/forcefields/forcefield1_b.tga + tcGen environment + blendfunc GL_ONE GL_ONE + tcMod turb 0 0.25 0 0.5 + tcMod scroll -.5 -.3 + } +} +//Forcefield1 yellow +textures/fx/forcefield2-c +{ + qer_editorimage textures/fx/forcefields/forcefield1_c.tga + nopicmip + surfaceparm nolightmap + surfaceparm trans + cull none + surfaceparm nomarks + qer_trans 0.8 + + { + map textures/fx/forcefields/forcefield1_c.tga + tcGen environment + blendfunc GL_ONE GL_ONE + tcMod turb 0 0.25 0 0.5 + tcMod scroll -.5 -.3 + } +} +//Forcefield1 green +textures/fx/forcefield1-d +{ + qer_editorimage textures/fx/forcefields/forcefield1_d.tga + nopicmip + surfaceparm nolightmap + surfaceparm trans + cull none + surfaceparm nomarks + qer_trans 0.8 + + { + map textures/fx/forcefields/forcefield1_d.tga + tcGen environment + blendfunc GL_ONE GL_ONE + tcMod turb 0 0.25 0 0.5 + tcMod scroll -.5 -.3 + } +} +//Jumppad1 blue +textures/fx/jumppadfx1-a +{ + qer_editorimage textures/fx/jumppad/jumppadfx1_a + surfaceparm nolightmap + surfaceparm nomarks + surfaceparm nonsolid + surfaceparm trans + cull none + qer_trans 0.6 + { + map textures/fx/juppad/jumppadfx1_a + blendfunc add + tcMod scroll 0 2 + } +} +//Jumppad1 red +textures/fx/jumppadfx1-b +{ + qer_editorimage textures/fx/jumppad/jumppadfx1_b + surfaceparm nolightmap + surfaceparm nomarks + surfaceparm nonsolid + surfaceparm trans + cull none + qer_trans 0.6 + { + map textures/fx/juppad/jumppadfx1_b + blendfunc add + tcMod scroll 0 2 + } +} +//Jumppad1 yellow +textures/fx/jumppadfx1-c +{ + qer_editorimage textures/fx/jumppad/jumppadfx1_c + surfaceparm nolightmap + surfaceparm nomarks + surfaceparm nonsolid + surfaceparm trans + cull none + qer_trans 0.6 + { + map textures/fx/juppad/jumppadfx1_c + blendfunc add + tcMod scroll 0 2 + } +} +//Jumppad1 green +textures/fx/jumppadfx1-d +{ + qer_editorimage textures/fx/jumppad/jumppadfx1_d + surfaceparm nolightmap + surfaceparm nomarks + surfaceparm nonsolid + surfaceparm trans + cull none + qer_trans 0.6 + { + map textures/fx/juppad/jumppadfx1_d + blendfunc add + tcMod scroll 0 2 + } +} \ No newline at end of file diff --git a/textures/fx/forcefields/forcefield1_a.tga b/textures/fx/forcefields/forcefield1_a.tga new file mode 100644 index 00000000..3d80cff1 Binary files /dev/null and b/textures/fx/forcefields/forcefield1_a.tga differ diff --git a/textures/fx/forcefields/forcefield1_b.tga b/textures/fx/forcefields/forcefield1_b.tga new file mode 100644 index 00000000..0f5042e5 Binary files /dev/null and b/textures/fx/forcefields/forcefield1_b.tga differ diff --git a/textures/fx/forcefields/forcefield1_c.tga b/textures/fx/forcefields/forcefield1_c.tga new file mode 100644 index 00000000..b9fe24a1 Binary files /dev/null and b/textures/fx/forcefields/forcefield1_c.tga differ diff --git a/textures/fx/forcefields/forcefield1_d.tga b/textures/fx/forcefields/forcefield1_d.tga new file mode 100644 index 00000000..350d4315 Binary files /dev/null and b/textures/fx/forcefields/forcefield1_d.tga differ diff --git a/textures/fx/jumppad/jumppadfx1_a.tga b/textures/fx/jumppad/jumppadfx1_a.tga new file mode 100644 index 00000000..a57d025c Binary files /dev/null and b/textures/fx/jumppad/jumppadfx1_a.tga differ diff --git a/textures/fx/jumppad/jumppadfx1_b.tga b/textures/fx/jumppad/jumppadfx1_b.tga new file mode 100644 index 00000000..a35bb266 Binary files /dev/null and b/textures/fx/jumppad/jumppadfx1_b.tga differ diff --git a/textures/fx/jumppad/jumppadfx1_c.tga b/textures/fx/jumppad/jumppadfx1_c.tga new file mode 100644 index 00000000..bf071a95 Binary files /dev/null and b/textures/fx/jumppad/jumppadfx1_c.tga differ diff --git a/textures/fx/jumppad/jumppadfx1_d.tga b/textures/fx/jumppad/jumppadfx1_d.tga new file mode 100644 index 00000000..a6dc70bd Binary files /dev/null and b/textures/fx/jumppad/jumppadfx1_d.tga differ