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

MeshBasicNodeMaterial bug with scene.environment #29031

Closed
Makio64 opened this issue Jul 31, 2024 · 1 comment · Fixed by #29033
Closed

MeshBasicNodeMaterial bug with scene.environment #29031

Makio64 opened this issue Jul 31, 2024 · 1 comment · Fixed by #29033
Labels
Milestone

Comments

@Makio64
Copy link
Contributor

Makio64 commented Jul 31, 2024

Description

When i set the scene.environment the MeshBasicNodeMaterial take it at 100% when i expected this material to not be affected by the environment map.

expected :
Screenshot 2024-07-31 at 20 11 03

current:
Screenshot 2024-07-31 at 20 11 09

Reproduction steps

see the example bellow.

Code

scene.environment = texture; // is apply at 100% on the MeshBasicNodeMaterial like it was a diffuse

Live example

https://jsfiddle.net/47hr3cgj/

Screenshots

No response

Version

r167

Device

No response

Browser

No response

OS

No response

@Makio64 Makio64 changed the title MeshBasicNodeMaterial bug with the environment of the scene at '100%' Jul 31, 2024
@Mugen87
Copy link
Collaborator

Mugen87 commented Jul 31, 2024

Yes, all materials that support env maps are currently affected by Scene.environment.

The expected behavior according to WebGLRenderer is only physical materials should be affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants