Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeMaterial: Honor lightMapIntensity. #1098

Merged
merged 2 commits into from
Jul 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>>;
Loading