-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Nodes: Add SSAAPassNode. * Update three.js * Add examples * Update patch and delete examples
- Loading branch information
1 parent
f020de2
commit 37b0597
Showing
5 changed files
with
72 additions
and
1 deletion.
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
44 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 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,26 @@ | ||
import { Camera } from "../../cameras/Camera.js"; | ||
import { RenderTarget } from "../../core/RenderTarget.js"; | ||
import { Color } from "../../math/Color.js"; | ||
import { Scene } from "../../scenes/Scene.js"; | ||
import UniformNode from "../core/UniformNode.js"; | ||
import { ShaderNodeObject } from "../shadernode/ShaderNode.js"; | ||
import PassNode from "./PassNode.js"; | ||
|
||
declare class SSAAPassNode extends PassNode { | ||
readonly isSSAAPassNode: boolean; | ||
|
||
sampleLevel: number; | ||
unbiased: boolean; | ||
clearColor: Color; | ||
clearAlpha: number; | ||
|
||
sampleWeight: UniformNode<number>; | ||
|
||
sampleRenderTarget: RenderTarget | null; | ||
|
||
constructor(scene: Scene, camera: Camera); | ||
} | ||
|
||
export const ssaaPass: (scene: Scene, camera: Camera) => ShaderNodeObject<SSAAPassNode>; | ||
|
||
export default SSAAPassNode; |