gzdoom-gles/src/gl/renderer
Christoph Oelckers 0a07f4c144 - fixed alpha texture generation for OpenGL rendering.
The old logic used a translation table that does not work with color images, it was designed to handle 8 bit grayscale images.
So now, it creates a true color buffer and then turns it into a texture with R,G,B = 255 and the alpha channel set to the grayscale value.

This was also the reason why crosshairs made from 32 bit PNGs did not show correctly.
2018-03-22 23:57:14 +01:00
..
gl_2ddrawer.cpp - adjusted GL renderer to the new rules for alpha textures. This means that the translation fallback is only needed for the legacy renderer now. Modern GL can use the regular texture and will apply a grayscale mapping instead of merely using the red channel. 2018-03-22 20:42:17 +01:00
gl_2ddrawer.h - refactored FDynamicColormap out of sector_t. 2017-03-15 22:04:59 +01:00
gl_colormap.h - refactored FDynamicColormap out of sector_t. 2017-03-15 22:04:59 +01:00
gl_lightdata.cpp - refactored FDynamicColormap out of sector_t. 2017-03-15 22:04:59 +01:00
gl_lightdata.h - refactored FDynamicColormap out of sector_t. 2017-03-15 22:04:59 +01:00
gl_postprocess.cpp Remove bloom effect on psprites 2018-01-06 05:11:12 +01:00
gl_postprocessstate.cpp Add another gbuffer with normal data and make ssao pass use it 2016-10-05 07:57:27 +02:00
gl_postprocessstate.h - moved the matrix code out of 'gl' because the model code also needs it. 2017-11-25 13:51:09 +01:00
gl_quaddrawer.cpp - moved the matrix code out of 'gl' because the model code also needs it. 2017-11-25 13:51:09 +01:00
gl_quaddrawer.h - added handling for drawing with uniform vertices. It draws something but in the wrong place. Right now I have no idea what's happening... 2016-08-22 15:31:23 +02:00
gl_renderbuffers.cpp - Add gl_shadowmap_quality cvar that controls the resolution of the 1D shadow map texture 2017-06-04 00:44:49 +02:00
gl_renderbuffers.h Merge https://github.com/coelckers/gzdoom 2017-06-03 22:34:13 -04:00
gl_renderer.cpp - second part of texture fix. 2018-02-15 18:40:23 +01:00
gl_renderer.h - second part of texture fix. 2018-02-15 18:40:23 +01:00
gl_renderstate.cpp Merge remote-tracking branch 'remotes/origin/materials' 2018-03-03 08:54:04 +01:00
gl_renderstate.h - fixed alpha texture generation for OpenGL rendering. 2018-03-22 23:57:14 +01:00