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

Add material environment lighting intensity to Standard Material #4033

Closed
yaustar opened this issue Feb 16, 2022 · 2 comments
Closed

Add material environment lighting intensity to Standard Material #4033

yaustar opened this issue Feb 16, 2022 · 2 comments
Assignees
Labels
area: graphics Graphics related issue feature request

Comments

@yaustar
Copy link
Contributor

yaustar commented Feb 16, 2022

Forum: https://forum.playcanvas.com/t/fresnel-material-issues/24358

From @slimbuck

Hi @DevEdge,

In previous versions of the engine we were applying scene intensity to the material’s overridden sphereMap & envMap. This was fixed in 1.52 and so in your example the sphere is white because it no longer is being multiplied by the scene intensity of 0.01.

Material’s “Environment” settings should have its own “Intensity” setting for this. Hopefully we could add this soonish.

Until then you could override this and this chunk by multiplying the calculated reflection by 0.01.

Thanks!

@yaustar yaustar added feature request area: graphics Graphics related issue labels Feb 16, 2022
@mvaligursky mvaligursky changed the title Add material intensity to Standard Material Add material environment lighting intensity to Standard Material Feb 21, 2022
@mvaligursky
Copy link
Contributor

related / duplicate #771

@slimbuck
Copy link
Member

As @GSterbrant pointed out, this is possible to control with material_intensity called "Environment Reflectivity" in the editor. Closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue feature request
Projects
None yet
Development

No branches or pull requests

3 participants