-
-
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
Objects too bright in Three.js r152dev #25917
Comments
Potentially, yes. Can you please share the code that shows how you setup and configure your renderer? Besides, have you already enabled color management in your app (see https://threejs.org/docs/index.html#manual/en/introduction/Color-management)? BTW: Sharing the entire code base of your app is not appropriate since we don't have the resources to study your implementation. So please us the fiddles in the issue template to demonstrate problems (there is a template which points to |
Hi @andreasrosdal – as you noticed, there are a lot of color management changes in r152. These are intentional, and because you aren't already using https://discourse.threejs.org/t/updates-to-color-management-in-three-js-r152/50791 Hopefully the guide will answer most of your questions, but feel free to follow up in the forums with further questions, or we can reopen this if there does appear to be a bug. Aside — I noticed you're using Reflector.js and Refractor.js. I have not had time to update those examples yet, and it's possible they will require changes. You can opt-out of these changes (other than the renamed properties) if you prefer. |
@andreasrosdal Please let us know what did you have to change to restore your colors when you figure it out. |
I have now updated FCIV.NET to Three.js r152, and I restored the colours. I would have liked to enable ColorManagement to get the most realistic and beautiful colours. However, for now I chose to opt-out of ColorManagement. I would very much appreciate any advice about how to improve FCIV.NET, specifically how to improve performance and make the game more beautiful. I think full support for WebGPU in Three.js will help, and a module build of Three.js with WebGPU support so I don't have to load it manually. Further, I wish there was better API support for instancing of objects loaded with GLTFLoader, so that game units loaded as GLTF objects would be instantiated only once, possibly there is an example of how to implement this. |
Please redirect such support requests to the forum. |
Description
Objects loaded from Gltf too bright in Three.js r152dev.
Reproduction steps
This is a change in Three.js r152 dev version.
Could it be related to the colour space changes going on?
Code
https://github.com/fciv-net/fciv-net/tree/main/freeciv-web/src/main/webapp/javascript/webgl
Screenshots
Version
r152dev
Device
Desktop
Browser
Chrome
OS
No response
The text was updated successfully, but these errors were encountered: