qzdoom-gpl/wadsrc/static/shaders/glsl
Christoph Oelckers b9a6fe80a4 Do not use the shader to handle STYLEF_RedIsAlpha.
Turns out that the name doesn't accurately describe what it does.
It is correct for images that come with their own palette or are true color.
But for images using the game palette it doesn't use the red channel to determine translucency but the palette index! Ugh...

This means it cannot be done with a simple operation in the shader because it won't get a proper source image. The only solution is to create a separate texture.
2014-05-11 23:56:53 +02:00
..
fogboundary.fp Ok, it had to be done: Removed shader support for pre GLSL 1.3/GL 3.0 hardware. The compromises needed to accomodate these are just too bad and would block any attempt at streamlining the code. 2014-05-11 13:27:51 +02:00
func_brightmap.fp - GZDoom solution file 2013-06-23 11:13:01 +02:00
func_normal.fp - GZDoom solution file 2013-06-23 11:13:01 +02:00
func_notexture.fp - added objectcolor uniform. This will be used to hold the thingcolor for shader based rendering. 2014-05-11 16:06:25 +02:00
func_warp1.fp - GZDoom solution file 2013-06-23 11:13:01 +02:00
func_warp2.fp - GZDoom solution file 2013-06-23 11:13:01 +02:00
func_wavex.fp - GZDoom solution file 2013-06-23 11:13:01 +02:00
fuzz_jagged.fp - GZDoom solution file 2013-06-23 11:13:01 +02:00
fuzz_noise.fp - GZDoom solution file 2013-06-23 11:13:01 +02:00
fuzz_smooth.fp - GZDoom solution file 2013-06-23 11:13:01 +02:00
fuzz_smoothnoise.fp - GZDoom solution file 2013-06-23 11:13:01 +02:00
fuzz_smoothtranslucent.fp - GZDoom solution file 2013-06-23 11:13:01 +02:00
fuzz_standard.fp - GZDoom solution file 2013-06-23 11:13:01 +02:00
fuzz_swirly.fp - GZDoom solution file 2013-06-23 11:13:01 +02:00
main.fp Do not use the shader to handle STYLEF_RedIsAlpha. 2014-05-11 23:56:53 +02:00
main.vp Ok, it had to be done: Removed shader support for pre GLSL 1.3/GL 3.0 hardware. The compromises needed to accomodate these are just too bad and would block any attempt at streamlining the code. 2014-05-11 13:27:51 +02:00
main_colormap.fp Do not use the shader to handle STYLEF_RedIsAlpha. 2014-05-11 23:56:53 +02:00
main_foglayer.fp Ok, it had to be done: Removed shader support for pre GLSL 1.3/GL 3.0 hardware. The compromises needed to accomodate these are just too bad and would block any attempt at streamlining the code. 2014-05-11 13:27:51 +02:00