-
-
Notifications
You must be signed in to change notification settings - Fork 35.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
WebGPURenderer: AttributeNode: Vertex attribute "normal" not found on geometry #28939
Comments
I know that when I create buffer geometries myself and don't create an attribute for "normal" because I create normal vectors myself in the shader. So the reason for this warning is that the corresponding geometry does not contain a “normal” attribute. I then simply solved this by creating a “normal” attribute for my custom geometries. However, not because it was necessary but in order not to confuse other users who download my repository because of the warning in the console. A clean solution would be to check whether the attribute "normal" is present in the geometry. If not, it should not be used. |
Why is the renderer expecting a normal to be present? |
There is an open issue with
The one I'm not sure about is |
Description
Cleaning up the examples a bit...
The following examples display the warning:
Due to use of QuadMesh
Due to Horse.glb
Due to RectAreaLightHelper
Perhaps the warning can be suppressed?
Reproduction steps
see example list above
Code
n/a
Live example
see example list above
Screenshots
No response
Version
r167 dev
Device
Desktop
Browser
Chrome
OS
MacOS
The text was updated successfully, but these errors were encountered: