-
-
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 StereoPassNode. * Update three.js * Add examples * Update patch and delete examples
- Loading branch information
1 parent
36eeccb
commit d10e022
Showing
4 changed files
with
52 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
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Camera } from "../../cameras/Camera.js"; | ||
import { StereoCamera } from "../../cameras/StereoCamera.js"; | ||
import { Scene } from "../../scenes/Scene.js"; | ||
import { ShaderNodeObject } from "../shadernode/ShaderNode.js"; | ||
import PassNode from "./PassNode.js"; | ||
|
||
declare class StereoPassNode extends PassNode { | ||
readonly isStereoPassNode: true; | ||
|
||
stereo: StereoCamera; | ||
|
||
constructor(scene: Scene, camera: Camera); | ||
} | ||
|
||
export const stereoPass: (scene: Scene, camera: Camera) => ShaderNodeObject<StereoPassNode>; | ||
|
||
export default StereoPassNode; |