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: export viewport and minor fixes #26698

Merged
merged 4 commits into from
Sep 6, 2023
Merged

Conversation

aardgoose
Copy link
Contributor

As title.

@LeviPesin
Copy link
Contributor

LeviPesin commented Sep 5, 2023

Can you please also add BumpMapNode, HashNode, and Schlick_to_F0? They were added in previous PRs but weren't, I think, added to the exports.

@sunag sunag added this to the r157 milestone Sep 6, 2023
@sunag sunag merged commit 94d905f into mrdoob:dev Sep 6, 2023
super( scope );

}

construct( builder ) {
Copy link
Owner

Choose a reason for hiding this comment

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

Hmm... Would it make sense to rename construct() to build()?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think build is already used for the last step -- turning the node into a shader code fragment. The construct name for the node constructing step seems nice 👍

Copy link
Owner

Choose a reason for hiding this comment

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

Ah, maybe setup() then? Or configure()?
Just trying to differentiate it from constructor()...

Copy link
Collaborator

Choose a reason for hiding this comment

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

setup() is interesting.

@aardgoose aardgoose deleted the viewport-plus branch October 15, 2023 10:27
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.

4 participants