q3rally/baseq3r/scripts/common.shader

480 lines
11 KiB
Text
Raw Normal View History

2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// Shaders for Q3Rally common textures - rewritten by P3rlE
// based on the common.shader
// ------------------------------------------------------------
// ------------------------------------------------------------
// 1.mirror
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/mirrortut
{
qer_editorimage textures/common/mirrortut.tga
surfaceparm nolightmap
portal
{
map textures/common/mirrortut.tga
blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
depthWrite
}
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 2.rain
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/rain
{
qer_trans 0.5
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
surfaceparm nomarks
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 3.snow
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/snow
{
qer_trans 0.5
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
surfaceparm nomarks
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 4.checkpoint
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/checkpoint
{
qer_trans 0.5
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
surfaceparm nomarks
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 5.startfinish
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/startfinish
{
qer_trans 0.5
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
surfaceparm nomarks
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 6.areaportal
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/areaportal
{
qer_trans 0.50
surfaceparm nodraw
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm structural
surfaceparm trans
surfaceparm nomarks
surfaceparm areaportal
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 7.caulk
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/caulk
{
surfaceparm nodraw
surfaceparm nolightmap
surfaceparm nomarks
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 8.clip
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/clip
{
qer_trans 0.40
surfaceparm nodraw
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
surfaceparm nomarks
surfaceparm noimpact
surfaceparm playerclip
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 9.clusterportal
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/clusterportal
{
qer_trans 0.50
surfaceparm nodraw
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
surfaceparm nomarks
surfaceparm clusterportal
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 10.cushion
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/cushion
{
qer_nocarve
qer_trans 0.50
surfaceparm nodraw
surfaceparm nolightmap
surfaceparm trans
surfaceparm nomarks
surfaceparm nodamage
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 11.donotenter
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/donotenter
{
qer_trans 0.50
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
surfaceparm nomarks
surfaceparm donotenter
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 12.full_clip
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
2020-07-07 22:36:26 +00:00
textures/common/full_clip
2011-02-18 14:31:32 +00:00
{
qer_trans 0.40
surfaceparm nodraw
surfaceparm playerclip
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 13.hint
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
2020-07-07 22:36:26 +00:00
textures/common/hint
2011-02-18 14:31:32 +00:00
{
qer_nocarve
qer_trans 0.30
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm structural
surfaceparm trans
surfaceparm noimpact
2020-07-07 22:36:26 +00:00
surfaceparm hint
2011-02-18 14:31:32 +00:00
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 14.invisible
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/invisible // solid, transparent polygons, casts shadows
{
surfaceparm nolightmap
{
map textures/common/invisible.tga
alphaFunc GE128
depthWrite
rgbGen vertex
}
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 15.missileclip
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/missileclip
{
qer_trans 0.40
surfaceparm nodamage
surfaceparm nomarks
surfaceparm nodraw
//surfaceparm nonsolid
surfaceparm playerclip
surfaceparm trans
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 16.nodraw
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/nodraw
{
surfaceparm nodraw
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
surfaceparm nomarks
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 17.nodrawnonsolid
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/nodrawnonsolid
{
surfaceparm nonsolid
surfaceparm nolightmap
surfaceparm nodraw
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 18.nodrop
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/nodrop
{
qer_nocarve
qer_trans 0.5
surfaceparm nodraw
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
surfaceparm nomarks
surfaceparm nodrop
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 19.noimpact
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/noimpact
{
qer_editorimage textures/common/nolightmap.tga
surfaceparm noimpact
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 20.nolightmap
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/nolightmap
{
surfaceparm nolightmap
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 21.origin
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/origin
{
qer_nocarve
surfaceparm nodraw
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
surfaceparm origin
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 22.portal
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/portal
{
qer_editorimage textures/common/qer_portal.tga
surfaceparm nolightmap
portal
{
map textures/common/mirror1.tga
tcMod turb 0 0.25 0 0.05
blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
depthWrite
}
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 23.slick
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/slick
{
qer_trans 0.50
surfaceparm nodraw
surfaceparm nolightmap
surfaceparm nomarks
surfaceparm trans
surfaceparm slick
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 24.terrain
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/terrain
{
q3map_terrain
surfaceparm nodraw
surfaceparm nolightmap
surfaceparm nomarks
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 25.terrain2
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/terrain2
{
q3map_terrain
qer_editorimage textures/common/terrain.tga
surfaceparm dust
surfaceparm nodraw
surfaceparm nomarks
surfaceparm nolightmap
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 26.timportal
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/timportal
{
qer_editorimage textures/common/qer_portal.tga
portal
surfaceparm nolightmap
{
map textures/common/portal.tga
tcMod turb 0 0.25 0 0.05
blendFunc GL_ONE GL_SRC_ALPHA
depthWrite
}
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 27.trigger
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/trigger
{
qer_trans 0.50
qer_nocarve
surfaceparm nodraw
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 28.weapclip
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/weapclip
{
qer_trans 0.40
surfaceparm nodraw
surfaceparm nolightmap
surfaceparm trans
surfaceparm nomarks
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 29.metalclip
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/metalclip
{
qer_trans 0.40
surfaceparm nodraw
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
surfaceparm nomarks
surfaceparm noimpact
surfaceparm playerclip
surfaceparm metalsteps
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 30.botclip
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/botclip
{
qer_trans 0.40
surfaceparm nodraw
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
surfaceparm nomarks
surfaceparm noimpact
surfaceparm botclip
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 31.lightgrid
// ------------------------------------------------------------
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
// ydnar q3map lightgrid bounds
//
// the min/max bounds of brushes with this shader in a map
2020-07-07 22:36:26 +00:00
// will def the bounds of the map's lightgrid (model lighting)
2011-02-18 14:31:32 +00:00
// note: make it as small as possible around player space
// to minimize bsp size and compile time
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/lightgrid
{
qer_trans 0.5
surfaceparm nodraw
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm detail
surfaceparm nomarks
surfaceparm trans
surfaceparm lightgrid
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 32.q3r_checkpoint_a
// ------------------------------------------------------------
2011-02-18 14:31:32 +00:00
textures/common/q3r_checkpoint_a
{
qer_editorimage textures/common/q3r_checkpoint_a.tga
cull disable
{
AnimMap 2 textures/common/q3r_checkpoint_a.tga textures/common/q3r_checkpoint_ainv.tga
}
}
2020-07-07 22:36:26 +00:00
// ------------------------------------------------------------
// 33.energypad
// ------------------------------------------------------------
textures/common/energypad
{
qer_editorimage textures/sfx/bluegoal.jpg
surfaceparm nolightmap
cull twosided
{
map textures/sfx/bluegoal.jpg
blendFunc GL_ONE GL_SRC_ALPHA
tcGen environment
tcMod turb 0 0.25 0 0.05
}
}