godot/servers/visual
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
..
default_mouse_cursor.xpm GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
particle_system_sw.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
particle_system_sw.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
rasterizer.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
rasterizer.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
rasterizer_dummy.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
rasterizer_dummy.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
SCsub style: Fix PEP8 whitespace issues in Python files 2016-11-02 22:28:28 +01:00
shader_language.cpp Add optimizing AT_LIGHT_PASS builtin to canvas shaders 2017-06-15 02:03:25 +02:00
shader_language.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
visual_server_raster.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
visual_server_raster.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
visual_server_wrap_mt.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
visual_server_wrap_mt.h Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00