You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Backport new 3D point light attenuation as an option
This provides more realistic lighting with a very small performance cost. The option is available in both GLES3 and GLES2, and can be enabled in the Project Settings. This goes well with the ACES Fitted tonemapping mode that was recently added. When enabled, this also makes upgrading Godot 3.x projects to Godot 4.0 easier, since lighting in 3.x will better match how it'll look in Godot 4.0.
This commit is contained in:
@@ -2636,6 +2636,8 @@ VisualServer::VisualServer() {
|
||||
|
||||
GLOBAL_DEF_RST("rendering/misc/mesh_storage/split_stream", false);
|
||||
|
||||
GLOBAL_DEF_RST("rendering/quality/shading/use_physical_light_attenuation", false);
|
||||
|
||||
GLOBAL_DEF("rendering/quality/depth_prepass/enable", true);
|
||||
GLOBAL_DEF("rendering/quality/depth_prepass/disable_for_vendors", "PowerVR,Mali,Adreno,Apple");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user