Skip to content

Commit

Permalink
MeshBasicNodeMaterial: Add lightMap support. (#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Jul 21, 2024
1 parent 287ee05 commit 2829e18
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions types/three/src/nodes/lighting/BasicLightMapNode.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import Node from "../core/Node.js";
import LightingNode from "./LightingNode.js";

declare class BasicLightMapNode extends LightingNode {
constructor(lightMapNode?: Node | null);
}

export default BasicLightMapNode;
1 change: 1 addition & 0 deletions types/three/src/nodes/materials/NodeMaterial.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export default class NodeMaterial extends Material {
setupVariants(builder: NodeBuilder): void;
setupNormal(builder: NodeBuilder): void;
setupEnvironment(builder: NodeBuilder): Node | null;
setupLightMap(builder: NodeBuilder): Node | null;
setupLights(builder: NodeBuilder): LightsNode;
setupLightingModel(builder: NodeBuilder): LightingModel;
setupLighting(builder: NodeBuilder): Node;
Expand Down

0 comments on commit 2829e18

Please sign in to comment.