-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Nodes: Add LightProbeNode. * Update three.js * Add examples * Update patch and delete examples
- Loading branch information
1 parent
bb0f759
commit 3e28fcd
Showing
4 changed files
with
51 additions
and
14 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
5 files
+1 −0 | examples/files.json | |
+ − | examples/screenshots/webgpu_lightprobe.jpg | |
+173 −0 | examples/webgpu_lightprobe.html | |
+1 −0 | src/nodes/Nodes.js | |
+80 −0 | src/nodes/lighting/LightProbeNode.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,11 @@ | ||
import { LightProbe } from "../../lights/LightProbe.js"; | ||
import UniformArrayNode from "../accessors/UniformArrayNode.js"; | ||
import AnalyticLightNode from "./AnalyticLightNode.js"; | ||
|
||
declare class LightProbeNode extends AnalyticLightNode<LightProbe> { | ||
lightProbe: UniformArrayNode; | ||
|
||
constructor(light?: LightProbe | null); | ||
} | ||
|
||
export default LightProbeNode; |