-
-
Notifications
You must be signed in to change notification settings - Fork 36.3k
Physical and Standard Material shading problem with orthographic camera #17379
Copy link
Copy link
Closed
Description
Description of the problem
Hello there. I noticed that both MeshPhysicalMaterial and MeshStandardMaterial had a bug related to the shading when using an orthographic camera.
I made a post in the forum looking for help: https://discourse.threejs.org/t/physical-material-artifact-when-using-orthographic-camera/9243?u=avena
Here is a codepen
And some screenshots of the issue (notice the hard edge at the left side of the spheres):


The problem occurs or become noticeable when you have big objects (like a sphere with a radius of 64 units) and move the object away from the center of the screen when using an orthographic camera.
Everything looks fine in perspective camera. Tested in r107 and r108. The issue doesn't happen in Phong or Lambert materials.
Three.js version
- Dev
- r108
- ...
Browser
- All of them
- Chrome
- Firefox
- Internet Explorer
OS
- All of them
- Windows
- macOS
- Linux
- Android
- iOS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels