Skip to content
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

Fix darkened MeshBasicMaterial lightMap #5566

Merged
merged 1 commit into from
Jul 6, 2022
Merged

Conversation

takahirox
Copy link
Contributor

Fixes #5562

The recent Three.js changed the light map intensity handling a bit and it affected MeshBasicMaterial light map. Due to it scenes having light map and materials unlit can be darkened after our Three.js upgrade.

This commit fixes it adjusting the light map intensity for MeshBasicMaterial.

See mrdoob/three.js#23613 for the details.

The recent Three.js changed the light map intensity handling
a bit and it affected MeshBasicMaterial light map. Due to it
scenes having light map and materials unlit can be darkened
after our Three.js upgrade.

This commit fixes it adjusting the light map intensity for
MeshBasicMaterial.

See mrdoob/three.js#23613 for the
details.
@takahirox takahirox merged commit 2ecf224 into master Jul 6, 2022
@takahirox takahirox deleted the FixBasicMaterialLightMap branch July 6, 2022 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some scenes are darken
1 participant