summaryrefslogtreecommitdiff
path: root/servers/physics_2d/space_2d_sw.h
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2017-06-12 16:32:59 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2017-06-15 02:03:15 +0200
commit93ffd9023f0f685c7e0910397efa0a9b59326a81 (patch)
treeefac68542c0fd8728d6780b7105d73991c17dad0 /servers/physics_2d/space_2d_sw.h
parent4d90750729ee79d11d207dc865db783ee6cab53a (diff)
Add 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. Depending on your game (number of items and lights), this can yield some performance gain.
Diffstat (limited to 'servers/physics_2d/space_2d_sw.h')
0 files changed, 0 insertions, 0 deletions