-
-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Node: Add FilmNode. * Update three.js * Add examples * Update patch * Delete examples * Add examples * Update patch * Delete examples
- Loading branch information
1 parent
934494b
commit 95a2265
Showing
4 changed files
with
45 additions
and
25 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
Submodule three.js
updated
12 files
+3 −3 | .github/workflows/codeql-code-scanning.yml | |
+56 −7 | build/three.webgpu.js | |
+1 −1 | build/three.webgpu.min.js | |
+14 −24 | examples/misc_controls_fly.html | |
+ − | examples/screenshots/misc_controls_fly.jpg | |
+6 −8 | examples/webgpu_refraction.html | |
+11 −11 | package-lock.json | |
+2 −1 | src/nodes/Nodes.js | |
+52 −0 | src/nodes/display/FilmNode.js | |
+0 −7 | src/nodes/display/RGBShiftNode.js | |
+11 −1 | src/nodes/math/MathNode.js | |
+1 −0 | test/e2e/puppeteer.js |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import Node from "../core/Node.js"; | ||
import TempNode from "../core/TempNode.js"; | ||
import { NodeRepresentation, ShaderNodeObject } from "../shadernode/ShaderNode.js"; | ||
|
||
declare class FilmNode extends TempNode { | ||
inputNode: Node; | ||
intensityNode: Node | null; | ||
uvNode: Node | null; | ||
|
||
constructor(inputNode: Node, intensityNode?: Node | null, uvNode?: Node | null); | ||
} | ||
|
||
export const film: ( | ||
inputNode: NodeRepresentation, | ||
intensityNode?: NodeRepresentation | null, | ||
uvNode?: NodeRepresentation | null, | ||
) => ShaderNodeObject<FilmNode>; | ||
|
||
declare module "../shadernode/ShaderNode.js" { | ||
interface NodeElements { | ||
film: typeof film; | ||
} | ||
} | ||
|
||
export default FilmNode; |