Skip to content

Commit

Permalink
NodeMaterial: Honor lightMapIntensity. (#1098)
Browse files Browse the repository at this point in the history
* NodeMaterial: Honor lightMapIntensity.

* Format
  • Loading branch information
Methuselah96 authored Jul 21, 2024
1 parent 65a44ed commit 8e973d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions types/three/src/nodes/Nodes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ export {
materialIridescence,
materialIridescenceIOR,
materialIridescenceThickness,
materialLightMap,
materialLineDashOffset,
materialLineDashSize,
materialLineGapSize,
Expand Down
5 changes: 4 additions & 1 deletion types/three/src/nodes/accessors/MaterialNode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ export type MaterialNodeScope =
| typeof MaterialNode.LINE_WIDTH
| typeof MaterialNode.LINE_DASH_OFFSET
| typeof MaterialNode.POINT_WIDTH
| typeof MaterialNode.DISPERSION;
| typeof MaterialNode.DISPERSION
| typeof MaterialNode.LIGHT_MAP;

export default class MaterialNode extends Node {
static ALPHA_TEST: "alphaTest";
Expand Down Expand Up @@ -76,6 +77,7 @@ export default class MaterialNode extends Node {
static LINE_DASH_OFFSET: "dashOffset";
static POINT_WIDTH: "pointWidth";
static DISPERSION: "dispersion";
static LIGHT_MAP: "light";

scope: MaterialNodeScope;
constructor(scope?: MaterialNodeScope);
Expand Down Expand Up @@ -118,4 +120,5 @@ export const materialLineWidth: ShaderNodeObject<MaterialNode>;
export const materialLineDashOffset: ShaderNodeObject<MaterialNode>;
export const materialPointWidth: ShaderNodeObject<MaterialNode>;
export const materialDispersion: ShaderNodeObject<MaterialNode>;
export const materialLightMap: ShaderNodeObject<MaterialNode>;
export const materialAnisotropyVector: ShaderNodeObject<UniformNode<Vector2>>;

0 comments on commit 8e973d6

Please sign in to comment.