mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 16:00:08 +01:00
Add fallbacks and mention non-working features when using Compatibility or the Web platform (#1132)
- Make 3D lights with shadows darker when using Compatibility to better
match the appearance of Forward+/Mobile, due to the use of sRGB blending
for those lights.
- Silence some warnings when running projects with the Compatibility
rendering method, such as the one about 2D MSAA not being supported.
- Rebake lightmaps in Global Illumination to improve quality and reduce
light leaking with improvements from 4.3.
- Increase probe density for dynamic objects, and mark the moving box
as a dynamic object for GI purposes.
This is done to improve the experience with the web-based demos,
which always run with the Compatibility rendering method.
This commit is contained in:
@@ -211,7 +211,7 @@ func _ready() -> void:
|
||||
add_header("Video")
|
||||
add_line("Adapter name", RenderingServer.get_video_adapter_name())
|
||||
add_line("Adapter vendor", RenderingServer.get_video_adapter_vendor())
|
||||
if ProjectSettings.get_setting_with_override("rendering/renderer/rendering_method") != "gl_compatibility":
|
||||
if RenderingServer.get_current_rendering_method() != "gl_compatibility":
|
||||
# Querying the adapter type isn't supported in Compatibility.
|
||||
add_line("Adapter type", [
|
||||
"Other (Unknown)",
|
||||
|
||||
Reference in New Issue
Block a user