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

LDrawLoader: Fix uniforms to support fog #20913

Merged
merged 2 commits into from
Dec 21, 2020
Merged

Conversation

lk-lkaz
Copy link
Contributor

@lk-lkaz lk-lkaz commented Dec 20, 2020

Fixed uniforms of conditionalEdgeMaterial to support fog.
I think this is a bug, because its VertShader and FragShader are already support fog.

Fixed uniforms of conditionalEdgeMaterial to support fog.
I think this is a bug, because its VertShader and FragShader are already support fog.
Fixed uniforms of conditionalEdgeMaterial to support fog.
I think this is a bug, because its VertShader and FragShader is already support fog.
@mrdoob mrdoob added this to the r124 milestone Dec 21, 2020
@mrdoob
Copy link
Owner

mrdoob commented Dec 21, 2020

@yomboprime looks good?

@gkjohnson
Copy link
Collaborator

Looks good to me -- not including the fog uniforms was just an oversight when I added the conditional edges material. Here's a before and after with the model completely faded by fog.

Before

image

After

image

@mrdoob mrdoob merged commit 7128dcb into mrdoob:dev Dec 21, 2020
@mrdoob
Copy link
Owner

mrdoob commented Dec 21, 2020

Thanks!

@yomboprime
Copy link
Collaborator

I saw this two hours ago but was on mobile, impossible to read the diff.
Happy holidays!

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.

4 participants