OpenArena Message Boards

OpenArena Contributions => Development => Topic started by: jackthompson on January 16, 2009, 06:15:46 AM



Title: more_crosshairs: shader instead of tga's
Post by: jackthompson on January 16, 2009, 06:15:46 AM
here is the requested shader...

i also attached the patch again... and the (very quick and dirty) code that generated the shader...


Title: Re: more_crosshairs: shader instead of tga's
Post by: Neon_Knight on January 16, 2009, 05:29:45 PM
What do we need to test these CHs? Only the shader or something else? I can't see them on screen.


Title: Re: more_crosshairs: shader instead of tga's
Post by: chaoticsoldier on January 17, 2009, 12:38:09 AM
I think this new shader file just replaces the "more_crosshairs.shader" in the "more_crosshairs.pk3"
Instead of having 6 different coloured copies of the same crosshair, you only need the one white copy and the shader will do the rest, making crosshair00.tga to crosshair59.tga obsolete.


Title: Re: more_crosshairs: shader instead of tga's
Post by: jackthompson on January 17, 2009, 07:39:12 PM
I think this new shader file just replaces the "more_crosshairs.shader" in the "more_crosshairs.pk3"
Instead of having 6 different coloured copies of the same crosshair, you only need the one white copy and the shader will do the rest, making crosshair00.tga to crosshair59.tga obsolete.

yep.. they will just take crosshaira.tga to crosshairj.tga and color them in red, yellow, cyan, green, blue or purple.. the patch makes the qvm cycle through crosshaira to crosshairj and then through crosshair%02d from 0 to 59..