Differences in rendering when using plain three.js
See original GitHub issueWe switched our rendering pipeline to use that lib and we are getting great results, so big thank you!
The textures of materials are looking so much sharper than with plain three.js but the scene is also darker (with same light intensity and positions of course) and the colours seem to have a higher contrast. We wondering if there are some settings that are set by default when using a RenderPass for main scene or what is the reason for that? I’ve seen there is a BrightnessContrastEffect
that can do the trick but wanted to check before using it.
Plain three.js:
With postprocessing:
Then my second question is about changing some material properties, for example I want to set materials to THREE.DoubleSide but seems to have no effect, the scene comes out with THREE.FrontSide no matter what:
setMaterialSide (side) {
traverseMaterials(this.root, material => {
material.side = side
material.needsUpdate = true
})
}
setMaterialSide(THREE.DoubleSide)
Is there something to do in order to update that change?
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
I guess this relates with this pull request: https://github.com/mrdoob/three.js/pull/19129 And also this was fixed in three r116 ✨
spot on, this completely solves the issue! Thanks a bunch