Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normal map rendering errors #521

Closed
echadwick-artist opened this issue Dec 23, 2023 · 1 comment
Closed

Normal map rendering errors #521

echadwick-artist opened this issue Dec 23, 2023 · 1 comment
Labels

Comments

@echadwick-artist
Copy link
Contributor

Normal maps seem to be rendering incorrectly in the sample viewer.

NormalTangentTest
2023-12-23 08_24_53-glTF Sample Viewer

I noticed this when testing a new model for the glTF Sample Assets repo, which is made to test the rendering of normal maps which have been baked from high-resolution geometry into the UVs of lower-resolutions geometry:
KhronosGroup/glTF-Sample-Assets#88

The three cubes in the middle should be lit similarly to the cube at the top, but they are not.
screenshot_Large

Compare with how it is rendered in the Babylon.js Sandbox:
https://sandbox.babylonjs.com/
BabylonJSSandbox

See also the ground-truth renderer Dassault Systèmes Enterprise PBR Pathtracer:
https://dassaultsystemes-technology.github.io/dspbr-pt/
EnterprisePBRSampleRenderer

@echadwick-dgg3d
Copy link

Thanks for the fix!

@jim-ec jim-ec closed this as completed Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants