-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebGPURenderer: New normal nodes approach (#1195)
- Loading branch information
1 parent
c650142
commit 36524db
Showing
5 changed files
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
import AttributeNode from "../core/AttributeNode.js"; | ||
import PropertyNode from "../core/PropertyNode.js"; | ||
import VarNode from "../core/VarNode.js"; | ||
import { ShaderNodeObject } from "../shadernode/ShaderNode.js"; | ||
|
||
export const normalGeometry: ShaderNodeObject<AttributeNode>; | ||
|
||
export const normalLocal: ShaderNodeObject<VarNode>; | ||
|
||
export const normalFlat: ShaderNodeObject<VarNode>; | ||
|
||
export const normalView: ShaderNodeObject<VarNode>; | ||
|
||
export const normalWorld: ShaderNodeObject<VarNode>; | ||
export const transformedNormalView: ShaderNodeObject<PropertyNode>; | ||
|
||
export const transformedNormalView: ShaderNodeObject<VarNode>; | ||
|
||
export const transformedNormalWorld: ShaderNodeObject<VarNode>; | ||
export const transformedClearcoatNormalView: ShaderNodeObject<PropertyNode>; | ||
|
||
export const transformedClearcoatNormalView: ShaderNodeObject<VarNode>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters