Skip to content

Conversation

@takahirox
Copy link
Collaborator

Please refer to ##22009 (comment) and the following comments

Description

This PR fixes MeshPhysicalMaterial refraction shader code bug. I should have used world normal for calculating refraction but I wrongly used world normal applied view matrix.

@mrdoob
Copy link
Owner

mrdoob commented Jul 30, 2021

Excellent! I'll include this in today's 0.131.1.

@mrdoob mrdoob added this to the r131 milestone Jul 30, 2021
@mrdoob mrdoob merged commit 361d9a2 into mrdoob:dev Jul 30, 2021
@mrdoob
Copy link
Owner

mrdoob commented Jul 30, 2021

Thanks!

@mrdoob mrdoob modified the milestones: r131, r132 Jul 30, 2021
@takahirox takahirox deleted the FixRefractionCode branch July 30, 2021 07:43
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.

2 participants