Skip to content

Commit

Permalink
Fix cg_crosshairHealth in demoq3 and tademo
Browse files Browse the repository at this point in the history
Already fixed in baseq3 (fixes missionpack too).
  • Loading branch information
zturtleman committed Sep 2, 2017
1 parent 39b9075 commit df9df96
Show file tree
Hide file tree
Showing 2 changed files with 224 additions and 0 deletions.
112 changes: 112 additions & 0 deletions demoq3/scripts/gfx_crosshairs.shader
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
// Make crosshair shaders use vertex RGBA.

gfx/2d/crosshaira
{
nopicmip
{
map gfx/2d/crosshaira.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshairb
{
nopicmip
{
map gfx/2d/crosshairb.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshairc
{
nopicmip
{
map gfx/2d/crosshairc.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshaird
{
nopicmip
{
map gfx/2d/crosshaird.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshaire
{
nopicmip
{
map gfx/2d/crosshaire.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshairf
{
nopicmip
{
map gfx/2d/crosshairf.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshairg
{
nopicmip
{
map gfx/2d/crosshairg.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshairh
{
nopicmip
{
map gfx/2d/crosshairh.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshairi
{
nopicmip
{
map gfx/2d/crosshairi.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshairj
{
nopicmip
{
map gfx/2d/crosshairj.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

112 changes: 112 additions & 0 deletions tademo/scripts/gfx_crosshairs.shader
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
// Make crosshair shaders use vertex RGBA.

gfx/2d/crosshaira
{
nopicmip
{
map gfx/2d/crosshaira.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshairb
{
nopicmip
{
map gfx/2d/crosshairb.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshairc
{
nopicmip
{
map gfx/2d/crosshairc.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshaird
{
nopicmip
{
map gfx/2d/crosshaird.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshaire
{
nopicmip
{
map gfx/2d/crosshaire.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshairf
{
nopicmip
{
map gfx/2d/crosshairf.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshairg
{
nopicmip
{
map gfx/2d/crosshairg.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshairh
{
nopicmip
{
map gfx/2d/crosshairh.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshairi
{
nopicmip
{
map gfx/2d/crosshairi.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

gfx/2d/crosshairj
{
nopicmip
{
map gfx/2d/crosshairj.tga
blendFunc blend
rgbGen exactVertex
alphaGen vertex
}
}

0 comments on commit df9df96

Please sign in to comment.