Skip to content

Commit

Permalink
WebGPURenderer: Add aoNode to NodeMaterial (#897)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Apr 21, 2024
1 parent 94aded5 commit 4aa818f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/three/examples/jsm/nodes/materials/NodeMaterial.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export interface NodeMaterialParameters extends ShaderMaterialParameters {

lightsNode?: ShaderNodeObject<LightsNode> | null | undefined;
envNode?: ShaderNodeObject<Node> | null | undefined;
aoNode?: ShaderNodeObject<Node> | null | undefined;

colorNode?: ShaderNodeObject<Node> | null | undefined;
normalNode?: ShaderNodeObject<Node> | null | undefined;
Expand Down Expand Up @@ -61,6 +62,7 @@ export default class NodeMaterial extends ShaderMaterial {

lightsNode: ShaderNodeObject<LightsNode> | null;
envNode: ShaderNodeObject<Node> | null;
aoNode: ShaderNodeObject<Node> | null;

colorNode: ShaderNodeObject<Node> | null;
normalNode: ShaderNodeObject<Node> | null;
Expand Down

0 comments on commit 4aa818f

Please sign in to comment.