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

SkinnedMesh: Require floating point vertex textures. #23928

Merged
merged 1 commit into from
Apr 22, 2022
Merged

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Apr 22, 2022

Closes #23921.

Description

With r135 the project requires half float texture extension support for HDR workflows in WebGL 1. I'd like to suggest the next step in limiting WebGL 1 support by restricting the usage of SkinnedMesh.

With this PR SkinnedMesh only works with WebGL 1 if floating point textures inside the vertex shader are supported. This is true for most WebGL 1 devices however a small subset of older ones do not support this. Stats are rare but according to #20704 and #23921 it is a number around 5 - 10 %.

Merging this PR would allow the project to remove a legacy code path which is also buggy. Fixes like suggested in #23922 or #20704 would affect all applications no matter if they use skinning or WebGL 1 or 2.

@mrdoob
Copy link
Owner

mrdoob commented Apr 22, 2022

Sounds good!

@mrdoob mrdoob added this to the r140 milestone Apr 22, 2022
@mrdoob mrdoob merged commit 41c82c0 into mrdoob:dev Apr 22, 2022
@mrdoob
Copy link
Owner

mrdoob commented Apr 22, 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.

Model shadow error when OES_texture_float extension is unavailable
2 participants