qzdoom/src/gl/scene
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
..
gl_bsp.cpp - removed the __asm nop breakpoints for debugging. They not only do not work on non-MSVC but also not on 64 bit. 2014-05-08 09:48:39 +02:00
gl_clipper.cpp - added GL render as of SVN revision 1600. 2013-06-23 09:49:34 +02:00
gl_clipper.h - added GL render as of SVN revision 1600. 2013-06-23 09:49:34 +02:00
gl_decal.cpp Do not use the shader to handle STYLEF_RedIsAlpha. 2014-05-11 23:56:53 +02:00
gl_drawinfo.cpp - route all glColor calls through render state. 2014-05-11 22:57:42 +02:00
gl_drawinfo.h - added GL render as of SVN revision 1600. 2013-06-23 09:49:34 +02:00
gl_fakeflat.cpp - removed the __asm nop breakpoints for debugging. They not only do not work on non-MSVC but also not on 64 bit. 2014-05-08 09:48:39 +02:00
gl_flats.cpp allow brightmaps and fullbright objects in fog. The reasons why they were disabled no longer exist. 2014-05-11 23:12:28 +02:00
gl_portal.cpp - removed all code that mixes together the different lighting methods. Now everything goes through the 3 different light parameters in the render state. 2014-05-11 21:47:54 +02:00
gl_portal.h - added GL render as of SVN revision 1600. 2013-06-23 09:49:34 +02:00
gl_renderhacks.cpp - removed all code that mixes together the different lighting methods. Now everything goes through the 3 different light parameters in the render state. 2014-05-11 21:47:54 +02:00
gl_scene.cpp allow brightmaps and fullbright objects in fog. The reasons why they were disabled no longer exist. 2014-05-11 23:12:28 +02:00
gl_sky.cpp - added GL render as of SVN revision 1600. 2013-06-23 09:49:34 +02:00
gl_skydome.cpp - route all glColor calls through render state. 2014-05-11 22:57:42 +02:00
gl_sprite.cpp Do not use the shader to handle STYLEF_RedIsAlpha. 2014-05-11 23:56:53 +02:00
gl_spritelight.cpp - removed all code that mixes together the different lighting methods. Now everything goes through the 3 different light parameters in the render state. 2014-05-11 21:47:54 +02:00
gl_vertex.cpp - add vertex buffer based drawing for all walls and flats. 2014-05-11 01:23:27 +02:00
gl_wall.h - removed all code that mixes together the different lighting methods. Now everything goes through the 3 different light parameters in the render state. 2014-05-11 21:47:54 +02:00
gl_walls.cpp - route all glColor calls through render state. 2014-05-11 22:57:42 +02:00
gl_walls_draw.cpp allow brightmaps and fullbright objects in fog. The reasons why they were disabled no longer exist. 2014-05-11 23:12:28 +02:00
gl_weapon.cpp Do not use the shader to handle STYLEF_RedIsAlpha. 2014-05-11 23:56:53 +02:00