godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.78k stars 20.13k forks source link

Compatibility renderer has lower-quality (ir)radiance map generation than Forward+ and Mobile #95091

Open Chaosus opened 1 month ago

Chaosus commented 1 month ago

Tested versions

4.3 rc2

System information

Windows 11

Issue description

On forward renderer the simple MeshInstance with a SphereMesh looks like this (which is correct):

изображение

On compatibility renderer it has blurpy artifacts:

изображение

IDK if this is already reported, feel free to close if then.

Steps to reproduce

Create a MeshInstance3D and assign a SphereMesh to it, and run that scene on Compatibility Renderer.

Minimal reproduction project (MRP)

TestSphere.zip

Calinou commented 1 month ago

This is probably just the radiance map generation being lower quality, particularly for higher roughness mipmaps. I'm not sure if much can be done about this.

Forward+ and Mobile can achieve higher quality as they use texture arrays for reflections (if enabled in the project settings), while Compatibility can't. Try disabling Texture Array Reflections in the Project Settings, restart the editor and look at how the ambient light looks when using Forward+.