summaryrefslogtreecommitdiff
path: root/scripts/crosshairs.shader
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/crosshairs.shader')
-rw-r--r--scripts/crosshairs.shader229
1 files changed, 11 insertions, 218 deletions
diff --git a/scripts/crosshairs.shader b/scripts/crosshairs.shader
index e393f245..278a2963 100644
--- a/scripts/crosshairs.shader
+++ b/scripts/crosshairs.shader
@@ -4,8 +4,7 @@ gfx/2d/crosshair-alien_s
{
map gfx/2d/crosshair-alien.tga
blendfunc blend
- rgbgen const ( 1.0 0.0 0.0 )
- alphagen const 0.35
+ rgbGen vertex
}
}
@@ -15,8 +14,7 @@ gfx/2d/crosshair-rifle_s
{
map gfx/2d/crosshair-rifle.tga
blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
+ rgbGen vertex
}
}
@@ -26,8 +24,7 @@ gfx/2d/crosshair-prifle_s
{
map gfx/2d/crosshair-prifle.tga
blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
+ rgbGen vertex
}
}
@@ -37,8 +34,7 @@ gfx/2d/crosshair-chaingun_s
{
map gfx/2d/crosshair-chaingun.tga
blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
+ rgbGen vertex
}
}
@@ -48,8 +44,7 @@ gfx/2d/crosshair-mdriver_s
{
map gfx/2d/crosshair-mdriver.tga
blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
+ rgbGen vertex
}
}
@@ -59,8 +54,7 @@ gfx/2d/crosshair-lcannon_s
{
map gfx/2d/crosshair-lcannon.tga
blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
+ rgbGen vertex
}
}
@@ -70,8 +64,7 @@ gfx/2d/crosshair-lgun_s
{
map gfx/2d/crosshair-lgun.tga
blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
+ rgbGen vertex
}
}
@@ -81,213 +74,14 @@ gfx/2d/crosshair-flamer_s
{
clampmap gfx/2d/crosshair-flamer1.tga
blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.15
tcmod rotate 5
+ rgbGen vertex
}
{
clampmap gfx/2d/crosshair-flamer1.tga
blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.15
- tcmod rotate -5
- }
-}
-gfx/2d/crosshair-psaw
-{
- nopicmip
- {
- map gfx/2d/crosshair-psaw.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
- }
-}
-
-*** 1,97 **** 0
-gfx/2d/crosshair-alien_s
-{
- {
- map gfx/2d/crosshair-alien.tga
- blendfunc blend
- rgbgen const ( 1.0 0.0 0.0 )
- alphagen const 0.35
- }
-}
-
-gfx/2d/crosshair-rifle_s
-{
- {
- map gfx/2d/crosshair-rifle.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
- }
-}
-
-gfx/2d/crosshair-prifle_s
-{
- {
- map gfx/2d/crosshair-prifle.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
- }
-}
-
-gfx/2d/crosshair-chaingun_s
-{
- {
- map gfx/2d/crosshair-chaingun.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
- }
-}
-
-gfx/2d/crosshair-mdriver_s
-{
- {
- map gfx/2d/crosshair-mdriver.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
- }
-}
-
-gfx/2d/crosshair-lcannon_s
-{
- {
- map gfx/2d/crosshair-lcannon.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
- }
-}
-
-gfx/2d/crosshair-lgun_s
-{
- {
- map gfx/2d/crosshair-lgun.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
- }
-}
-
-gfx/2d/crosshair-flamer_s
-{
- {
- clampmap gfx/2d/crosshair-flamer1.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.15
- tcmod rotate 5
- }
- {
- clampmap gfx/2d/crosshair-flamer1.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.15
- tcmod rotate -5
- }
-}
-gfx/2d/crosshair-psaw
-{
- {
- map gfx/2d/crosshair-psaw.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
- }
-}
-
-*** 1,97 **** 0
-gfx/2d/crosshair-alien_s
-{
- {
- map gfx/2d/crosshair-alien.tga
- blendfunc blend
- rgbgen const ( 1.0 0.0 0.0 )
- alphagen const 0.35
- }
-}
-
-gfx/2d/crosshair-rifle_s
-{
- {
- map gfx/2d/crosshair-rifle.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
- }
-}
-
-gfx/2d/crosshair-prifle_s
-{
- {
- map gfx/2d/crosshair-prifle.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
- }
-}
-
-gfx/2d/crosshair-chaingun_s
-{
- {
- map gfx/2d/crosshair-chaingun.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
- }
-}
-
-gfx/2d/crosshair-mdriver_s
-{
- {
- map gfx/2d/crosshair-mdriver.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
- }
-}
-
-gfx/2d/crosshair-lcannon_s
-{
- {
- map gfx/2d/crosshair-lcannon.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
- }
-}
-
-gfx/2d/crosshair-lgun_s
-{
- {
- map gfx/2d/crosshair-lgun.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
- }
-}
-
-gfx/2d/crosshair-flamer_s
-{
- {
- clampmap gfx/2d/crosshair-flamer1.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.15
- tcmod rotate 5
- }
- {
- clampmap gfx/2d/crosshair-flamer1.tga
- blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.15
tcmod rotate -5
+ rgbGen vertex
}
}
@@ -297,7 +91,6 @@ gfx/2d/crosshair-psaw
{
map gfx/2d/crosshair-psaw.tga
blendfunc blend
- rgbgen const ( 0.0 0.8 1.0 )
- alphagen const 0.35
+ rgbGen vertex
}
-}
+} \ No newline at end of file