godot/drivers/gles2
azagaya b835868067 Create shadow_vec for altering shadow computation
In 2.1 and 3.0, light_vec could be modified for altering shadow_computations.
But it broke shadows when rotating light. shadow_vec would do the same, but without breaking
shadows in rotated lights if not used.

Add inverse light transformation to shadow vec, so it's not affected when rotating lights;

Added usage define for shadow vec.

For shadow vec working properly when rotating a light, it's needed to multiply it by light_matrix normalized. Added usage define in order to don't do that if shadow_vec not used.
2019-09-06 13:55:49 -03:00
..
shaders Create shadow_vec for altering shadow computation 2019-09-06 13:55:49 -03:00
rasterizer_canvas_gles2.cpp Implement CanvasItem line antialiasing in GLES2 2019-07-12 16:49:12 +02:00
rasterizer_canvas_gles2.h Make alpha 1.0 when using texscreen, fixes #25850 2019-02-21 19:43:34 -03:00
rasterizer_gles2.cpp Add an option to disable boot splash filtering 2019-06-15 23:53:39 +02:00
rasterizer_gles2.h Add an option to disable boot splash filtering 2019-06-15 23:53:39 +02:00
rasterizer_scene_gles2.cpp fix gles2 shadow transparency bug 2019-07-21 23:52:19 -07:00
rasterizer_scene_gles2.h Adding a new Camera Server implementation to Godot. 2019-06-15 21:30:32 +10:00
rasterizer_storage_gles2.cpp Changed some code showed in LGTM and Coverage 2019-07-20 08:09:57 +02:00
rasterizer_storage_gles2.h Adding a new Camera Server implementation to Godot. 2019-06-15 21:30:32 +10:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
shader_compiler_gles2.cpp Create shadow_vec for altering shadow computation 2019-09-06 13:55:49 -03:00
shader_compiler_gles2.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
shader_gles2.cpp Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
shader_gles2.h Add missing license headers 2019-06-11 15:33:32 +02:00