godot/servers/visual
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
..
rasterizer.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
rasterizer.h Merge pull request #29764 from Calinou/boot-splash-no-filter-option 2019-06-16 10:39:53 +02:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
shader_language.cpp Fix some code found by Coverity Scan and PVS Studio 2019-07-23 09:14:31 +02:00
shader_language.h Added local array initializer 2019-07-16 07:13:37 +03:00
shader_types.cpp Create shadow_vec for altering shadow computation 2019-09-06 13:55:49 -03:00
shader_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
visual_server_canvas.cpp Ensure that nested YSort preserves intermediate modulate values 2019-07-04 17:57:47 +03:00
visual_server_canvas.h Ensure that nested YSort preserves intermediate modulate values 2019-07-04 17:57:47 +03:00
visual_server_globals.cpp Drivers, main, servers: Ensure classes match their header filename 2019-02-12 14:39:47 +01:00
visual_server_globals.h Drivers, main, servers: Ensure classes match their header filename 2019-02-12 14:39:47 +01:00
visual_server_light_baker.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
visual_server_light_baker.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
visual_server_raster.cpp Fix various memory leaks and errors 2019-07-02 17:23:54 +03:00
visual_server_raster.h Merge pull request #29764 from Calinou/boot-splash-no-filter-option 2019-06-16 10:39:53 +02:00
visual_server_scene.cpp Added release function to PoolVector::Access. 2019-07-06 12:04:27 +01:00
visual_server_scene.h Change "ID" to lowercase "id" 2019-05-09 06:25:32 -04:00
visual_server_viewport.cpp Fix ARVRServer crash at exit 2019-07-05 21:14:43 +02:00
visual_server_viewport.h Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
visual_server_wrap_mt.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
visual_server_wrap_mt.h Merge pull request #29764 from Calinou/boot-splash-no-filter-option 2019-06-16 10:39:53 +02:00