gzdoom/src/r_data
Christoph Oelckers e77cba1fd8 - added a 'lightsizefactor' command to gldefs.
This is for mitigating the recently discovered problem with attenuated lights getting reduced in size, even on OpenGL 3+. The intent of the shrinking was to account for higher brightness of non-attenuated lights on OpenGL 2 and was never meant to be active on more modern versions.
The factor will apply to any attenuated light defined after it and will be inherited by included sub-lumps, but it will only last for the lunp it is set in.

If you have a definition for the broken behavior, AddLightAssociation

'lightsizefactor 0.667' at the top of your GLDEFS.
2018-04-18 22:15:06 +02:00
..
models - changed voxel remapping to make a copy instead of destroying the original. 2018-04-03 00:30:02 +02:00
a_dynlightdata.cpp - added a 'lightsizefactor' command to gldefs. 2018-04-18 22:15:06 +02:00
colormaps.cpp - sound code and most of texture code converted to FileRdr. 2018-03-10 18:45:11 +01:00
colormaps.h - made 'nocoloredspritelighting' a global option and also implemented it in the software renderer. 2017-03-16 00:56:03 +01:00
gldefs.cpp - added a 'lightsizefactor' command to gldefs. 2018-04-18 22:15:06 +02:00
matrix.cpp - moved the matrix code out of 'gl' because the model code also needs it. 2017-11-25 13:51:09 +01:00
matrix.h - moved the matrix code out of 'gl' because the model code also needs it. 2017-11-25 13:51:09 +01:00
portalgroups.cpp - moved portal grouping code out of GL and into r_data. 2018-04-02 00:39:04 +02:00
r_interpolate.cpp - block direct use of 'new' for DObjects. 2017-04-14 13:31:58 +02:00
r_interpolate.h - changed TObjPtr to take a pointer as its template argument and not the class it points to. 2017-03-08 13:35:21 +01:00
r_translate.cpp - integrated GL parts of translation handling into the main module. 2018-04-01 00:59:49 +02:00
r_translate.h - integrated GL parts of translation handling into the main module. 2018-04-01 00:59:49 +02:00
r_vanillatrans.cpp - use 0 as the default for r_vanillatrans. 2017-06-04 12:39:39 +02:00
r_vanillatrans.h - r_vanillatrans: Cache the cache! Transform the function into a global variable and recheck at the start of D_Display 2017-06-04 12:30:35 +02:00
renderinfo.cpp - moved most of gl_setup.cpp to r_data as this is only some data setup in the main map data structures. 2018-04-02 09:27:40 +02:00
renderstyle.cpp - made the screen blend work for the software renderer. 2018-04-07 10:53:20 +02:00
renderstyle.h - made the screen blend work for the software renderer. 2018-04-07 10:53:20 +02:00
sprites.cpp - renamed FTexture's UseType flags and gave them a dedicated type. 2018-03-25 20:26:16 +02:00
sprites.h - Added +SPRITEFLIP which reverses a sprite's left-rightness. 2017-05-03 21:13:31 +02:00
voxels.cpp - changed voxel remapping to make a copy instead of destroying the original. 2018-04-03 00:30:02 +02:00
voxels.h - changed voxel remapping to make a copy instead of destroying the original. 2018-04-03 00:30:02 +02:00