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

Nodes: fixes and revision #23647

Merged
merged 1 commit into from
Mar 3, 2022
Merged

Nodes: fixes and revision #23647

merged 1 commit into from
Mar 3, 2022

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Mar 3, 2022

Description

Fixes some examples e cleanup after merger #23638, #23636.

@LeviPesin I think that we can ignore nodeType argument in label and others functions.
We can use a syntax similar to this below to create a named var with a fixed type:

const someNode = float( 1.0 );
const myVec3 = label( vec3( someNode ), 'MY_VEC3' );

This contribution is funded by Google via Igalia.

@sunag sunag added this to the r139 milestone Mar 3, 2022
@sunag sunag merged commit 938bfdc into mrdoob:dev Mar 3, 2022
@LeviPesin
Copy link
Contributor

I think the nodeType argument of the VarNode is used only in the WebGPUNodeBuilder... Maybe it can be removed.

@mrdoob
Copy link
Owner

mrdoob commented Mar 3, 2022

Thanks!

donmccurdy pushed a commit to donmccurdy/three.js that referenced this pull request Mar 10, 2022
abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
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

3 participants