-
-
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.
MeshBasicNodeMaterial: Refactor env map support. (#1097)
- Loading branch information
1 parent
a30339b
commit 65a44ed
Showing
6 changed files
with
23 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
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 LightingModel from "../core/LightingModel.js"; | ||
|
||
declare class BasicLightingModel extends LightingModel { | ||
constructor(); | ||
} | ||
|
||
export default BasicLightingModel; |
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,10 @@ | ||
import Node from "../core/Node.js"; | ||
import LightingNode from "./LightingNode.js"; | ||
|
||
declare class BasicEnvironmentNode extends LightingNode { | ||
envNode: Node | null; | ||
|
||
constructor(envNode?: Node | null); | ||
} | ||
|
||
export default BasicEnvironmentNode; |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import Node from "../core/Node.js"; | ||
|
||
export default abstract class LightingNode extends Node { | ||
readonly isLightingNode: true; | ||
|
||
constructor(); | ||
} |
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