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 materials get darker colors on 1.34.2+ #105

Merged
merged 4 commits into from
May 6, 2024

Conversation

Elecast2
Copy link
Contributor

@Elecast2 Elecast2 commented Apr 19, 2024

This fixes lighting bug on 1.34.2+ by setting metallic property to 0 on materials with Standard shader type

@Elecast2 Elecast2 changed the title Set metalic property to 0 Set metallic property to 0 Apr 19, 2024
@Fernthedev
Copy link
Contributor

Are you sure this is the proper fix? This seems to be a blanket solution for all materials, but to my knowledge you only need to fix Standard, no?

@Elecast2
Copy link
Contributor Author

Are you sure this is the proper fix? This seems to be a blanket solution for all materials, but to my knowledge you only need to fix Standard, no?

I could add a check for Standard, thats right

@Elecast2
Copy link
Contributor Author

Are you sure this is the proper fix? This seems to be a blanket solution for all materials, but to my knowledge you only need to fix Standard, no?

I could add a check for Standard, thats right

Done!

@Elecast2 Elecast2 changed the base branch from master to dev April 19, 2024 21:13
@Elecast2 Elecast2 changed the title Set metallic property to 0 Fix materials get darker colors on 1.34.2+ Apr 19, 2024
Fernthedev added a commit to Futuremappermydud/Chroma that referenced this pull request Apr 19, 2024
@Elecast2
Copy link
Contributor Author

Updated it to make the shader property change directly when instantiating the material

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.

3 participants