godotengine / godot

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

Vulkan Mobile: Curved MeshInstance3D's have strange lighting patterns #67172

Closed bepthomp closed 2 years ago

bepthomp commented 2 years ago

Godot version

4.alpha3 -> 4.beta2

System information

Windows 10, Vulkan Mobile, Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz 2.21 GHz

Issue description

Curved surfaces on MeshInstance3D's such as spheres and capsules are being lighted strangely. This issue is not present in the Forward+ renderer or with cylinders. This issue is present both in the editor and when rendered in a scene. I have traced this back to version 4.alpha3

image

Steps to reproduce

Minimal reproduction project

Sphere Lighting MRP beta-2.zip

Calinou commented 2 years ago

Duplicate of https://github.com/godotengine/godot/issues/58631 (same cause).