-
-
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
Models loaded in Three.js 155dev are dark #26410
Comments
Can you please verify if you are affected by #26392? More detailed explanation: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733 |
Yes, I am affected by #26392 Further, I am using
here: https://github.com/fciv-net/fciv-net/blob/main/freeciv-web/src/main/webapp/javascript/webgl/mapview.js#L69 I am interested in doing the correct migrations in order to use Three.js correctly and get as good colours as possible. Further, I hope to be a good early adopter and tester of new features in Three.js. |
In this case please use the forum if you encounter issues with color management or lighting. There are dedicated topics for both changes. Please files only issues at GitHub if you encounter bugs or have feature requests. |
Description
The models loaded in Three.js 155dev are dark. They are loaded using the GLTFLoader.
Using Three.js r154 the models had correctly lighting.
Is there some API change in this build that I need to update the code using Three.js?
Reproduction steps
Code
https://github.com/fciv-net/fciv-net
Live example
https://github.com/fciv-net/fciv-net
Screenshots
Version
r155dev
Device
No response
Browser
No response
OS
No response
The text was updated successfully, but these errors were encountered: