mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Implement vertex shading
This adds support in all backends, but the Compatibility renderer works the best. Mobile and Forward+ can only support one directional light shader (the first in the tree) While the Compatibility renderer supports any number of shadows. Co-authored-by: Clay John <claynjohn@gmail.com>
This commit is contained in:
parent
76a135926a
commit
0a9ad8f9de
14 changed files with 725 additions and 207 deletions
|
@ -3580,8 +3580,7 @@ void RenderingServer::init() {
|
|||
|
||||
GLOBAL_DEF(PropertyInfo(Variant::INT, "rendering/global_illumination/voxel_gi/quality", PROPERTY_HINT_ENUM, "Low (4 Cones - Fast),High (6 Cones - Slow)"), 0);
|
||||
|
||||
GLOBAL_DEF("rendering/shading/overrides/force_vertex_shading", false);
|
||||
GLOBAL_DEF("rendering/shading/overrides/force_vertex_shading.mobile", true);
|
||||
GLOBAL_DEF_RST("rendering/shading/overrides/force_vertex_shading", false);
|
||||
GLOBAL_DEF("rendering/shading/overrides/force_lambert_over_burley", false);
|
||||
GLOBAL_DEF("rendering/shading/overrides/force_lambert_over_burley.mobile", true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue