godot/servers
lawnjelly 61b3eb3b28 Light2D shadow mask construction fix
When using the default setting (layer 1 set only) nothing is stored in the tscn file for a Light2D, hence it relies on the value in the constructor.

The problem is the constructed value is 1 in Light2D, and -1 in RasterizerCanvas::Light. -1 results in all bits being set so all occluders are shown, rather than just those in layer 1.

This PR changes Rasterizer::Canvas constructor to set to 1. An alternative is to have -1 as the value for layer 1 throughout.

(cherry picked from commit bf54fa5a62)
2020-06-02 10:37:01 +02:00
..
audio Style: Fix unnecessary semicolons that confused clang-format 2020-05-19 11:24:58 +02:00
camera
physics_2d Split Geometry singleton into Geometry2D and Geometry3D 2020-05-27 14:28:34 +03:00
physics_3d Split Geometry singleton into Geometry2D and Geometry3D 2020-05-27 14:28:34 +03:00
rendering Light2D shadow mask construction fix 2020-06-02 10:37:01 +02:00
xr Style: Fix unnecessary semicolons that confused clang-format 2020-05-19 11:24:58 +02:00
audio_server.cpp Move mix_rate, ouput_latency to AudioDriverManager 2020-05-18 13:02:06 +02:00
audio_server.h Move mix_rate, ouput_latency to AudioDriverManager 2020-05-18 13:02:06 +02:00
camera_server.cpp
camera_server.h
display_server.cpp doc: Sync classref with current source 2020-05-20 15:29:37 +02:00
display_server.h doc: Sync classref with current source 2020-05-20 15:29:37 +02:00
navigation_server_2d.cpp Style: Enforce separation line between function definitions 2020-05-14 16:54:55 +02:00
navigation_server_2d.h
navigation_server_3d.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
navigation_server_3d.h
physics_server_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
physics_server_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
physics_server_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
physics_server_3d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
register_server_types.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
register_server_types.h
rendering_server.cpp Split Geometry singleton into Geometry2D and Geometry3D 2020-05-27 14:28:34 +03:00
rendering_server.h Split Geometry singleton into Geometry2D and Geometry3D 2020-05-27 14:28:34 +03:00
SCsub
server_wrap_mt_common.h
xr_server.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
xr_server.h