←ALL OPERATORS
> fields

Heightfield Layer

fields/heightfield-layer·v1.5.1
IN:2  OUT:1

Heightfield Layer combines two height fields. It resamples the second input at the first one's sample positions by world position, so the two can differ in resolution and extent, and composites the chosen Source Layer onto a layer of the first with Replace, Add, Subtract, Difference, Multiply, Maximum, Minimum, Blend or Screen.

Base, layer and final scale and offset reshape each side before and after compositing, Clamp Minimum and Maximum limit the result, and the falloff restricts where the second field is applied. Outside the second field, or with no second input, the first height field passes through unchanged.

PAGELayer
LayerLayerThe layer of the first input that receives the result.
Source LayerSourcelayerThe layer read from the second input.
BlendBlendThe mix between the first (0) and the second (1) field in Blend mode.
Base ScaleBasescaleScales the first field before compositing.
Base OffsetBaseoffsetOffsets the first field before compositing, in world units.
Layer ScaleLayerscaleScales the second field before compositing.
Layer OffsetLayeroffsetOffsets the second field before compositing, in world units.
Final ScaleFinalscaleScales the result.
Final OffsetFinaloffsetOffsets the result, in world units.
Clamp MinimumClampminClamps the result from below.
MinimumClampminvalueThe lowest result.
Clamp MaximumClampmaxClamps the result from above.
MaximumClampmaxvalueThe highest result.
Do FalloffDofalloffWeight the effect on each point by the Falloff Attribute.
Falloff AttributeFalloffattrThe point attribute, 0 to 1, that weights the effect.
Invert FalloffInvertfalloffUses one minus the falloff attribute.
Falloff StrengthFalloffstrengthScales the effect of the falloff attribute.
Border ValueBordervalueThe height read outside the height field when Border is Constant.
PAGECommon
BypassBypassPass through the first input to the output unchanged.
Free Extra GPU MemoryFreeextragpumemFree memory that has accumulated when output memory has grown and shrunk.
Input 0 POP - Base
Input 1 POP - Layer
Output 0 POP - Heightfield