From f9a8b76c0f912cea66eacf71162a3090fda698d8 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 19 Jan 2014 11:44:43 +0100 Subject: 0.1.6 --- assets/scripts/g_decals.shader | 114 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 assets/scripts/g_decals.shader (limited to 'assets/scripts/g_decals.shader') diff --git a/assets/scripts/g_decals.shader b/assets/scripts/g_decals.shader new file mode 100644 index 0000000..71096b6 --- /dev/null +++ b/assets/scripts/g_decals.shader @@ -0,0 +1,114 @@ +gfx/marks/shadow // blob shadow +{ + polygonOffset + { + map gfx/marks/shadow.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +gfx/marks/wake // foamy water around swimming players +{ + polygonOffset + { + clampmap gfx/marks/splash.tga + blendFunc GL_ONE GL_ONE + rgbGen vertex + tcmod rotate 250 + tcMod stretch sin .9 0.1 0 0.7 + rgbGen wave sin .7 .3 .25 .5 + } + { + clampmap gfx/marks/splash.tga + blendFunc GL_ONE GL_ONE + rgbGen vertex + tcmod rotate -230 + tcMod stretch sin .9 0.05 0 0.9 + rgbGen wave sin .7 .3 .25 .4 + } +} + +gfx/marks/bullet_mrk // bullet decal +{ + polygonOffset + { + map gfx/marks/bullet_mrk.tga + blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR + rgbGen exactVertex + } +} + +gfx/marks/burn_mrk // burn mark +{ + polygonOffset + { + map gfx/marks/burn_mrk.tga + blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR + rgbGen exactVertex + } +} + +gfx/marks/plasma_mrk // plasma decal +{ + polygonOffset + { + map gfx/marks/plasma_mrk.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +creep // alien creep texture +{ + nopicmip + polygonoffset + { + clampmap gfx/misc/creep.tga + blendfunc blend + rgbGen identityLighting + alphaGen Vertex + } +} + +greensplat // alien acid/blood decal +{ + nopicmip + polygonoffset + { + map gfx/blood/greensplat.tga + blendfunc blend + } +} + +greensplat2 // alien acid/blood decal +{ + nopicmip + polygonoffset + { + map gfx/blood/greenblood01frame08.tga + blendfunc blend + } +} + +greensplat3 // alien acid/blood decal +{ + nopicmip + polygonoffset + { + map gfx/blood/greenblood01frame07.tga + blendfunc blend + } +} + +greensplat4 // alien acid/blood decal +{ + nopicmip + polygonoffset + { + map gfx/blood/greenblood03frame07.tga + blendfunc blend + } +} \ No newline at end of file -- cgit