godot/drivers/gles2
lawnjelly 3aaefb957b GLES2 fix for consistent light ordering with BVH
Due to multi pass approach to lighting in GLES2, in some situations the rendered result can look different if lights are presented in a different order.

The order (aside from directional lights) seems to be simply copied from the culling routine (octree or bvh) which is essentially arbitrary. While octree is usually consistent with order, bvh uses a trickle optimize which may result in lights occurring in different order from frame to frame.

This PR adds an extra layer of sorting on GLES2 lights in order to get some kind of order consistency.
2021-02-24 17:25:28 +00:00
..
shaders Improve PCF13 shadow rendering in GLES2 by using a soft PCF filter 2021-02-22 13:36:15 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
rasterizer_canvas_base_gles2.cpp Batching - fix a couple of minor valgrind bugs. 2021-02-16 18:29:34 +00:00
rasterizer_canvas_base_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_canvas_gles2.cpp Batching - prevent joining of lightmasked items 2021-02-18 09:57:02 +00:00
rasterizer_canvas_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_gles2.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_scene_gles2.cpp GLES2 fix for consistent light ordering with BVH 2021-02-24 17:25:28 +00:00
rasterizer_scene_gles2.h GLES2 fix for consistent light ordering with BVH 2021-02-24 17:25:28 +00:00
rasterizer_storage_gles2.cpp Check limits on texture or framebuffer creation 2021-02-13 13:36:15 -08:00
rasterizer_storage_gles2.h Check limits on texture or framebuffer creation 2021-02-13 13:36:15 -08:00
shader_compiler_gles2.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
shader_compiler_gles2.h CPU lightmapper fixes. 2021-01-15 12:32:54 +01:00
shader_gles2.cpp [GLES2] Fix binding 3D Transforms to mat4 uniforms 2021-02-03 17:36:21 -06:00
shader_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00