-
Notifications
You must be signed in to change notification settings - Fork 44
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
Unlit mesh color is brighter than it should be #169
Comments
Thanks, I'll take a look |
Should be fixed in next release. |
@jnsmalm Thanks! |
@lovelle-cardoso Let me know if this works as it should in version 2.3.0 |
@jnsmalm Hm I seem to get an error for any mesh that isn't a cube-geometry mesh (like sphere, circle, or cylinder).
I think this is because sphere-geometry, cylinder-geometry, circle-geometry don't have a "tangents" property like cube-geometry does. |
Do you do anything special than just rendering the meshes? |
@jnsmalm I am running pixi7 so perhaps its a compatibility issue? The error is originating from @pixi/core 's GeometrySystem.checkCompatibility method. Here's the full stack trace:
|
@lovelle-cardoso I have tested it for all PixiJS versions from 5.3. Could you please provide some code which reproduces this error? |
@jnsmalm I wasn't able to reproduce it after updating from pixi 7.1.0 to pixi 7.2.0. So I think you can close this! |
I'm trying to make a cube mesh the same color as a sprite in the scene, but the color of the Mesh3D is slightly brighter than the Sprite3D despite them being set to the same exact color.
Here's a simple reproduction case with a Mesh3D cube and Sprite3D square set to the same color of blue:
The text was updated successfully, but these errors were encountered: