-
-
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.
* Addons: Add SMAANode. * Update three.js * Add examples * Update patch and delete examples
- Loading branch information
1 parent
3ee3bdb
commit e2aae3d
Showing
3 changed files
with
73 additions
and
3 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
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { NodeRepresentation, ShaderNodeObject, TempNode, TextureNode } from "three/tsl"; | ||
|
||
declare class SMAANode extends TempNode { | ||
textureNode: TextureNode; | ||
|
||
constructor(textureNode: TextureNode); | ||
|
||
getTextureNode(): TextureNode; | ||
|
||
setSize(width: number, height: number): void; | ||
|
||
dispose(): void; | ||
|
||
getAreaTexture(): string; | ||
|
||
getSearchTexture(): string; | ||
} | ||
|
||
export const smaa: (node: NodeRepresentation) => ShaderNodeObject<SMAANode>; |