Skip to content

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