-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Generate normals automatically for glTF 2.0 models #6506
Comments
Note: Make sure to not calculate normals for materials where the |
Related issue: #10465 |
The implementation for this will be quite similar to what I did for outlines in #10506. This can be done by:
|
This came up on the forum: https://community.cesium.com/t/lightning-or-normals-problem-with-3d-tiles/19985 |
Came up again here: https://community.cesium.com/t/how-to-create-detail-texture/24165/4 |
Came up again in https://community.cesium.com/t/3d-model-does-not-display-shades/30269/11 EDIT: And for those stumbling over this issue, in general, or via one of the linked threads: The post at https://community.cesium.com/t/3d-model-does-not-display-shades/30269/11 also contains short instructions for how to add normals to existing models, as a workaround until this issue is fixed. |
From the glTF spec
This would replace the stopgap solution in #6501.
The text was updated successfully, but these errors were encountered: