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

Examples: Use RedFormat in GlitchPass. #23207

Merged
merged 1 commit into from
Jan 12, 2022
Merged

Examples: Use RedFormat in GlitchPass. #23207

merged 1 commit into from
Jan 12, 2022

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jan 11, 2022

Related issue: -

Description

There is no need to use a 3 or 4 channel texture in GlitchPass since the height map's R, G and B values are equal. The code uses now THREE.RedFormat and THREE.LuminanceFormat as WebGL 1 fallback.

@mrdoob mrdoob added this to the r137 milestone Jan 12, 2022
@mrdoob mrdoob merged commit 4c2e086 into mrdoob:dev Jan 12, 2022
@mrdoob
Copy link
Owner

mrdoob commented Jan 12, 2022

Thanks!

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.

None yet

2 participants