summaryrefslogtreecommitdiff
path: root/assets/scripts/g_misc.shader
diff options
context:
space:
mode:
Diffstat (limited to 'assets/scripts/g_misc.shader')
-rw-r--r--assets/scripts/g_misc.shader141
1 files changed, 141 insertions, 0 deletions
diff --git a/assets/scripts/g_misc.shader b/assets/scripts/g_misc.shader
new file mode 100644
index 0000000..bafde0a
--- /dev/null
+++ b/assets/scripts/g_misc.shader
@@ -0,0 +1,141 @@
+// unsorted stuff
+
+gfx/misc/tracer
+{
+ cull none
+ {
+ map gfx/sprites/spark.tga
+ blendFunc blend
+ }
+}
+
+gfx/damage/fullscreen_painblend
+{
+ {
+ map gfx/damage/fullscreen_painblend.tga
+ blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+ rgbGen vertex
+ alphaGen vertex
+ tcMod rotate 90
+ }
+
+ {
+ map gfx/damage/fullscreen_painblend.tga
+ blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+ rgbGen vertex
+ alphaGen vertex
+ tcMod rotate -90
+ }
+}
+
+gfx/sprites/smoke
+{
+ cull none
+ entityMergable
+ {
+ map gfx/sprites/smoke.tga
+ blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+ rgbGen vertex
+ alphaGen vertex
+ }
+}
+
+gfx/sprites/green_acid
+{
+ nopicmip
+ {
+ clampmap gfx/sprites/green_acid.tga
+ blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+ rgbGen vertex
+ alphaGen vertex
+ }
+}
+
+gfx/sprites/spark
+{
+ cull none
+ {
+ map gfx/sprites/spark.tga
+ blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+ rgbGen vertex
+ alphaGen vertex
+ }
+}
+
+gfx/sprites/bubble
+{
+ sort underwater
+ cull none
+ entityMergable
+ {
+ map gfx/sprites/bubble.jpg
+ blendFunc GL_ONE GL_ONE
+ rgbGen vertex
+ alphaGen vertex
+ }
+}
+
+gfx/sprites/poisoncloud
+{
+ cull none
+ entityMergable
+ {
+ map gfx/sprites/poisoncloud.tga
+ blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+ rgbGen vertex
+ alphaGen vertex
+ }
+}
+
+gfx/sprites/chatballoon
+{
+ {
+ map gfx/sprites/chatballoon.tga
+ blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+ }
+}
+
+gfx/misc/nopower
+{
+ {
+ map gfx/misc/nopower.tga
+ blendfunc add
+ rgbGen identity
+ }
+}
+
+models/mapobjects/plant_life/fern_leaf
+{
+ cull disable
+ nopicmip
+ {
+ map models/mapobjects/plant_life/fern_leaf.tga
+ alphaFunc GE128
+ depthWrite
+ rgbGen vertex
+ }
+}
+
+models/mapobjects/plant_life/palm_leaf
+{
+ cull disable
+ nopicmip
+ {
+ map models/mapobjects/plant_life/palm_leaf.tga
+ alphaFunc GE128
+ depthWrite
+ rgbGen vertex
+ }
+}
+
+models/mapobjects/plant_life/grass
+{
+ cull disable
+ nopicmip
+ {
+ map models/mapobjects/plant_life/grass.tga
+ alphaFunc GE128
+ depthWrite
+ rgbGen vertex
+ }
+} \ No newline at end of file