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

UniformsLib: default color uniforms to white #21803

Merged
merged 1 commit into from
May 10, 2021

Conversation

gkjohnson
Copy link
Collaborator

Related issue: --

Description

Perhaps there's a reason for this but if so it wasn't clear to me. The three "diffuse" color uniforms were defaulting to 0xeeeeee rather than white as I expected, at least. This isn't an issue with any of the built in materials because they all seem to explicitly set their initial value to 0xffffff. examples/jsm/lines/LineMaterial does not, though, and uses the set of "line" uniforms from "UniformsLib" meaning the color is defaulting to the slightly off white color.

@mrdoob mrdoob added this to the r129 milestone May 10, 2021
@mrdoob mrdoob merged commit 35eaf19 into mrdoob:dev May 10, 2021
@mrdoob
Copy link
Owner

mrdoob commented May 10, 2021

Thanks!

@gkjohnson gkjohnson deleted the uniforms-default branch May 10, 2021 19:32
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