godot/servers
Pedro J. Estébanez 184ef18420 Add optimizing AT_LIGHT_PASS builtin to canvas shaders
This one allows for complex shaders paired with a simple lighting shader to skip code that would otherwise be pointlessly (and wastefully) run during the light pass.
You can use `if (AT_LIGHT_PASS) , negated or not, and that will be converted to a preprocessed #if when the shader is compiled.
Depending on your game (number of items and lights), this can be a *significant* performance gain, or at least avoids relying on the driver's optimizing abilities.
2017-06-15 02:03:25 +02:00
..
audio Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
physics Improve documentation of thirdparty code snippets 2017-05-26 23:53:14 +02:00
physics_2d Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
spatial_sound Fix priority in sample players 2017-05-15 20:24:38 +02:00
spatial_sound_2d Fix priority in sample players 2017-05-15 20:24:38 +02:00
visual Add optimizing AT_LIGHT_PASS builtin to canvas shaders 2017-06-15 02:03:25 +02:00
SCsub style: Various other PEP8 fixes in Python files 2016-11-02 22:30:34 +01:00
audio_server.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
audio_server.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
physics_2d_server.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
physics_2d_server.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
physics_server.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
physics_server.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
register_server_types.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
register_server_types.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
server_wrap_mt_common.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
spatial_sound_2d_server.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
spatial_sound_2d_server.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
spatial_sound_server.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
spatial_sound_server.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
visual_server.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
visual_server.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00