ReadonlyaoReadonlycoverageWhether the output is vec4( radiance, coverage ) without environment fallback.
ReadonlydirectionReadonlydistanceThe lookup's own distanceRoughness / roughnessLerp; undefined: the set's.
ReadonlyframeReadonlylodThe lookup's own lodMapping; undefined: the set's.
ReadonlynormalReadonlypositionExplicit lookup inputs; null ones come from the material (environment node).
ReadonlyprobesReadonlyrefitThe explicit refit option; undefined: on exactly when frameIrradianceNode is set.
ReadonlyroughnessReadonlyroughnessReadonlyviewStatictypeThe type of the class. The value is usually the constructor name.
Generate a custom cache key for this node.
The cache key of the node.
The set-wide lookup options this lookup uses: its own, else the set's (seam options D53, lod mapping D101).
Represents the setup stage which is the first step of the build process, see Node#build method.
This method is often overwritten in derived modules to prepare the node which is used as a node's output/result.
If an output node is prepared, then it must be returned in the return statement of the derived module's setup function.
The current node builder.
The output node.
AbstractupdateThe method can be implemented to update the node's internal state before it is used to render an object. The Node#updateBeforeType property defines how often the update is executed.
Optionalframe: { renderId: number }
A reference to the current node frame.
An optional bool that indicates whether the implementation actually performed an update or not (e.g. due to caching).
Radiance from a baked ReflectionProbes set. Without inputs it is an environment node: assign it to
scene.environmentNode. With inputs it samples at the given world position, direction and roughness (see sampleReflectionProbes). Withcoverage: trueit returnsvec4( radiance, coverage )without environment fallback (see reflectionProbesLocal). Bake the probes before creating it.