godot/servers
lawnjelly bf54fa5a62 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.
2020-05-30 09:29:38 +01:00
..
arvr Exposing get_tracker_id for ARVRPositionalTracker to GDScript 2020-03-04 12:52:47 +01:00
audio Move mixrate and latency definition to AudioServer 2020-05-18 16:40:33 +02:00
camera Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physics Merge pull request #33615 from raphael10241024/fix_shape_change 2020-01-16 22:56:16 +01:00
physics_2d Assign zero to range when ConvexPolygonShape2D is empty. 2020-04-16 12:57:22 +02:00
visual Light2D shadow mask construction fix 2020-05-30 09:29:38 +01:00
arvr_server.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
arvr_server.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_server.cpp Move mixrate and latency definition to AudioServer 2020-05-18 16:40:33 +02:00
audio_server.h Move mixrate and latency definition to AudioServer 2020-05-18 16:40:33 +02:00
camera_server.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
camera_server.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physics_2d_server.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physics_2d_server.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physics_server.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physics_server.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_server_types.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_server_types.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub
server_wrap_mt_common.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
visual_server.cpp GLES2 disable half-float project setting 2020-05-04 13:11:23 +01:00
visual_server.h Items and draw calls added to IDE Monitor in '2d' section 2020-04-16 11:52:22 +01:00