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

NormalMapNode: Two sides supports and updates #23971

Merged
merged 7 commits into from
Apr 29, 2022

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Apr 29, 2022

Related issue: #23965

Description

Add NormalMapNode two sides supports and others indirect features.

This contribution is funded by Google via Igalia

@sunag sunag added this to the r140 milestone Apr 29, 2022
@sunag sunag merged commit f62cd58 into mrdoob:dev Apr 29, 2022
@LeviPesin
Copy link
Contributor

LeviPesin commented Apr 30, 2022

https://github.com/mrdoob/three.js/blob/dev/examples/jsm/renderers/webgpu/nodes/WebGPUNodeBuilder.js#L100-L101

@sunag Can these two lines be removed now they are added to the NodeBuilder itself?

@sunag sunag deleted the dev-frontface-node branch April 30, 2022 18:49
abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
* NodeBuilder: add .getFrontFacing() and cleanup builtin

* add FrontFacingNode

* ShaderNode: add frontFacing and faceDirection

* NormalMapNode: two sides supports

* update to nodeImmutable

* FrontFacingNode: export to Nodes

* fix builtin lib
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.

2 participants