> falloffs

Texture Falloff

falloffs/texture-falloff·v1.3.0
IN:2  OUT:1

The Texture Falloff applies falloff values by sampling 2D or 3D textures (TOP) using point positions or custom attributes as UVW coordinates. This allows for highly customizable falloff patterns driven by images, procedural textures, or animated content.

Supports various lookup channels (luminance, RGB, alpha), multiple extend modes (repeat, mirror, hold, zero), and interpolation options. Transform controls allow you to translate, rotate, and scale the sampling space, with optional normalization for consistent results regardless of geometry bounds.

The resulting falloff values can be combined with existing falloff attributes, enhanced with procedural noise, remapped with custom curves, and previewed with color ramps. This makes Texture Falloff ideal for creating complex, art-directable patterns by painting falloff maps in external tools or using TouchDesigner's procedural generation capabilities.

PAGETexture
GroupGroupIf there are input groups, specifying a group name in this field will cause this POPX to act only upon the group specified.
Texture (TOP)TopTOP to use for lookup.
Use Custom UVWUsecustomuvwWhen enabled, uses custom attributes for texture coordinate lookup instead of world position.
Lookup Index Attribute ULookupindexattr0Attribute to use as the index for the U coordinate of the lookup. Only active when Use Custom UVW is enabled.
Lookup Index Attribute VLookupindexattr1Attribute to use as the index for the V coordinate of the lookup. Only active when Use Custom UVW is enabled.
Lookup Index Attribute WLookupindexattr2Attribute to use as the index for the W coordinate of the lookup. Only active when Use Custom UVW is enabled.
InterpolateInterpolateWhen on, the TOP can be interpolated between pixels. When off, the nearest pixel used.
Use Depth OffsetUsedepthoffsetEnable using the texture's depth offset for Texture 3D TOPs.
Normalize Sampling PositionNormalizesampleposNormalizes point positions to 0-1 range based on bounding box before sampling.
PAGENoise
PAGETexture
Uniform ScaleScaleUniform scaling factor applied to all axes equally.
PAGENoise
Combine OperationCombineopMathematical operation used to combine this falloff with existing falloff values.
PAGEFalloff
Combine Falloff AttributeCombattrscopeSpecifies which falloff attribute to combine with when Combine Operation is not set to Set.
Swap Operation OrderSwaporderReverses the order of operands in the combine operation (A op B becomes B op A).
Combine StrengthCombstrengthBlending factor for the combine operation, ranging from 0 (no effect) to 1 (full effect).
Output Falloff AttributeOutputfalloffattrName of the attribute where the final falloff values will be stored.
Preview FalloffPreviewfalloffWhen enabled, visualizes falloff values using a color ramp.
Falloff RampFallofframpColor ramp preset used for visualizing falloff values when Preview Falloff is enabled.
Open Custom Ramp EditorOpencustumrampeditorOpens the custom color ramp editor for defining a custom falloff visualization gradient.
Reset Custom RampResetcustomrampResets the custom color ramp to its default state.
PAGENoise
Apply NoiseApplynoiseWhen enabled, adds procedural noise to the falloff values for organic variation.
Combine OperationCombineopnoiseHow noise values are combined with the base falloff (Add or Multiply).
PAGENoise
SeedSeedNumerical value that initializes the randomization.
PeriodPeriodPeriod (scale) of the noise field.
HarmonicsHarmonThe number of higher frequency components to layer on top of the base frequency. 0 harmonics give the base shape.
Harmonic SpreadSpreadThe factor by which the frequency of a harmonic increases relative to the previous harmonic.
Harmonic GainGainAmplitude of the Harmonics layered on top of the base frequency.
AmplitudeAmpThe noise values amplitude (a scale on the values output).
ExponentExpSets the exponent. The internal value is raised by the power of the exponent.
OffsetOffsetAdds an offset to the resulting value.
PAGENoise
Translate 4DT4dnoiseTranslates the points through the 4th noise dimension.
PAGERemap
Enable RemapRemapEnables remapping controls for adjusting falloff value range and distribution.
ClampClampWhen enabled, constrains falloff values to the 0-1 range.
FitFitEnables remapping of falloff values from an input range to an output range.
Auto Input Min MaxAutoAutomatically determines input range from actual min/max falloff values.
Input MinInputminMinimum value of the input range for remapping.
Input MaxInputmaxMaximum value of the input range for remapping.
Output MinOutputminMinimum value of the output range for remapping.
Output MaxOutputmaxMaximum value of the output range for remapping.
InvertInvertReverses the falloff values (1 - value).
Enable Ramp RemapEnablerampremapApplies a custom curve defined by a ramp to remap the falloff values.
Open Ramp EditorOpenrampeditorOpens the ramp editor for defining the custom remapping curve.
Reset RampResetrampResets the remap ramp editor.
Custom Ramp TOPCustomramptopReference to an external TOP for remap control. When specified, overrides the internal ramp editor.
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.
Render PrimitivesRenderprimitivesToggles rendering of POPX Geometry or shows it as point instances only.
Convert to Point PrimitivesConverttoptprimConverts points to primitive points when Render Primitives is toggled off.
SRT / RSTSrtrstSets the transform order when using POPX Geometry as built-in TouchDesigner instances.
Input 0 POP POPX/POP Geometry
Input 1 TOP Texture
Output 0 POP POPX_out1