nunuStudio
nunuStudio copied to clipboard
Light difference question
Light difference question
Description
The project exported to html is much lighter when viewed in a browser than in the editor. The dark parts on the exported view is visibly lighter.
What causes this? What did I do wrong?
Test screenshot: (https://prnt.sc/tmopi9)
Version
- 0.97.14
Platform
- Web Version []
- Windows [X]
- Linux []
Hello
Well they should be the same when running on the editor and on export.
There is the possibility that the export was using a older runtime from cache, that could expain the differente (between some versions there are some tweaks in the lighting model that can cause slight changes).
Another options it that the exported version might not be using the correct tonemapping settings (i have to check it).
This can be a bug i will have to take a closer look into it.
Thanks a lot!
Hello
Thanks for your answer!
The runtime version is 0.97.1, not minimized js and the tonemappings type in my editor is Cineon.
Sadly, the tonemappings are different in the editor and the browser version (I think, the browser use the default tonemappings type (None) )
If i try console.log the RendererConfiguration.prototype.fromJSON 'a' parameter, i see this:
toneMapping: 3
but if i hardcoded the following, inside the RendererConfiguration.prototype.fromJSON function:
this.toneMapping = THREE.CineonToneMapping;
the lights/tonemappings look correct.
Thanks a lot for debugging this issue. It should be then a serialization/parsing problem with the renderer configuration.
I will take a close look into it today.
Thanks a lot!