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

WebGLBackend: Morph Texture #27218

Merged
merged 2 commits into from Nov 20, 2023
Merged

WebGLBackend: Morph Texture #27218

merged 2 commits into from Nov 20, 2023

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Nov 20, 2023

Related issue: #27207

Description

Improves attribute compatibility by following WebGLRenderer definitions.

@sunag sunag added this to the r159 milestone Nov 20, 2023
@sunag sunag marked this pull request as ready for review November 20, 2023 01:37
@sunag sunag merged commit c20ed03 into mrdoob:dev Nov 20, 2023
11 checks passed
@sunag sunag deleted the dev-weglbackend-morph branch November 20, 2023 04:10
@sunag sunag mentioned this pull request Nov 20, 2023
4 tasks
@sunag sunag added the WebGPU label Nov 20, 2023
@mrdoob
Copy link
Owner

mrdoob commented Nov 20, 2023

/cc @0b5vr


if ( ( array instanceof Uint32Array || array instanceof Int32Array ) === false ) {

nodeType = nodeType.slice( 1 );
Copy link
Contributor

Choose a reason for hiding this comment

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

Something like this.getTypeFromLength( this.getTypeLength( nodeType ) ) may be more reliable? /ping @sunag

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In this specific case I think it is not necessary because of the conditional: /^[iu]/.test( nodeType )

AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
* WebGLBackend: Morph Texture

* screenshot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants