diff options
author | reduz <reduzio@gmail.com> | 2021-08-13 14:27:33 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2021-08-13 14:30:59 -0300 |
commit | cfac8972e1def8b79f27fc8251e4aacf698bf245 (patch) | |
tree | 9e6253f967618f33b2dd7fdd20aa78e4a13f0c1e /scene/2d/mesh_instance_2d.cpp | |
parent | 3a48474c49faff6fd12f7875a841fa7872d56f9e (diff) |
More optimizations on the mobile renderer.
* Specialization constants used to disable anything not needed to draw
* Added softshadow and projector support on mobile.
This new approach ensures mobile shaders are smaller and more efficient, but relies on more pipeline versions compiled on demand.
As a result, random stalls can ocur like in Godot 3.x. These will be solved by using background compilation and fallbacks eventually (but needs to be tested first).
Diffstat (limited to 'scene/2d/mesh_instance_2d.cpp')
0 files changed, 0 insertions, 0 deletions