virtualx-engine/drivers
lawnjelly ecd39094ed GLES2 2D fix normal mapping - batching and nvidia workaround
Normal mapping previously took no account of rotation or flips in any path except the TEXTURE_RECT (uniform draw) method. This passed flips to the shader in uniforms.

In order to pass flips and rotations to the shader in batching and nvidia workaround, a per vertex attribute is required rather than a uniform. This introduces LIGHT_ANGLE which encodes both the rotation of a quad (vertex) and the horizontal and vertical flip.

In order to optionally store light angles in batching, we switch to using a 'unit' sized array which can be reused for different FVF types, as there is no need for a separate array for each FVF, as it is a waste of memory.
2020-08-18 17:49:24 +01:00
..
alsa SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
alsamidi SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
coreaudio SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
coremidi SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
dummy Fix memory leaks in RasterizerStorageDummy::free 2020-06-25 12:22:00 -07:00
gl_context SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
gles2 GLES2 2D fix normal mapping - batching and nvidia workaround 2020-08-18 17:49:24 +01:00
gles3 Fix OpenGL error when generating radiance 2020-07-21 10:40:49 -07:00
png Handle 16 bit PNG files in sRGB format 2020-07-10 08:51:21 +02:00
pulseaudio SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
unix [macOS] Fix crash on failed fork. 2020-08-14 00:32:04 +02:00
wasapi SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
windows Revert "Fix Directory Open Check" 2020-07-28 13:54:13 -04:00
winmidi SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
xaudio2 SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
register_driver_types.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_driver_types.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00