-
-
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.
* TSL: Introduce time * Update three.js * Add examples * Update patch and delete examples * Fix build
- Loading branch information
1 parent
e2aae3d
commit fd346f1
Showing
9 changed files
with
35 additions
and
70 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
37 files
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 was deleted.
Oops, something went wrong.
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,7 @@ | ||
import Node from "../core/Node.js"; | ||
import { NodeRepresentation, ShaderNodeObject } from "../tsl/TSLCore.js"; | ||
|
||
export const oscSine: (timeNode?: NodeRepresentation) => ShaderNodeObject<Node>; | ||
export const oscSquare: (timeNode?: NodeRepresentation) => ShaderNodeObject<Node>; | ||
export const oscTriangle: (timeNode?: NodeRepresentation) => ShaderNodeObject<Node>; | ||
export const oscSawtooth: (timeNode?: NodeRepresentation) => ShaderNodeObject<Node>; |
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,21 @@ | ||
import Node from "../core/Node.js"; | ||
import { ShaderNodeObject } from "../tsl/TSLCore.js"; | ||
|
||
export const time: ShaderNodeObject<Node>; | ||
export const deltaTime: ShaderNodeObject<Node>; | ||
export const frameId: ShaderNodeObject<Node>; | ||
|
||
/** | ||
* @deprecated Use "time" instead. | ||
*/ | ||
export const timerLocal: (timeScale?: number) => ShaderNodeObject<Node>; | ||
|
||
/** | ||
* @deprecated Use "time" instead. | ||
*/ | ||
export const timerGlobal: (timeScale?: number) => ShaderNodeObject<Node>; | ||
|
||
/** | ||
* @deprecated Use "deltaTime" instead. | ||
*/ | ||
export const timerDelta: (timeScale?: number) => ShaderNodeObject<Node>; |
This file was deleted.
Oops, something went wrong.
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