Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jul 31, 2024

Fixed #26446.

Description

This PR adds the WebGPURenderer version of Water2.

As suggested in #29019 (comment), the name of the module is now Water2Mesh.

@Mugen87 Mugen87 added this to the r168 milestone Jul 31, 2024
reflectionSampler.uvNode = reflectionSampler.uvNode.add( offset );

const refractorUV = viewportTopLeft.add( offset );
const refractionSampler = viewportSharedTexture( viewportSafeUV( refractorUV ) );
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sunag Works like a charm! 🎉

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.

Port Water2 to WebGPU

1 participant