←ALL OPERATORS
> falloffs

Texture Falloff

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

Texture Falloff samples a TOP, from Input 1 or the Texture (TOP) parameter, at every point's P placed by the Texture page transform and optionally normalized to the points' bounds, or with Use Custom UVW at three lookup attributes. Lookup Channel picks what becomes the falloff: Luminance, a single channel, or the average or maximum of RGB or RGBA.

Input Extend Mode (Hold, Zero, Repeat, Mirror), Interpolate and Use Depth Offset for 3D textures control the lookup, so painted maps, procedural TOPs or video can drive the modifiers. Like every POPX falloff, it adds optional noise, Remap controls (clamp, fit, invert, ramp) and a Combine Operation with the falloff already on the points, and Preview Falloff colors the points by the result.

PAGETexture
GroupGroupIf there are input groups, specifying a group name in this field will cause this POP to act only upon the group specified.
Texture (TOP)TopSets the TOP the falloff is looked up from.
Use Custom UVWUsecustomuvwEnable sampling by custom attributes instead of the position.
Lookup Index OffsetLookupindexoffsetOffset for the lookup index. Added to the UVW before sampling when Use Custom UVW is on.
Pixel Centered Sampling LocationPixelcenteredEnable remapping the input to sample at pixel centers.
Cyclic LookupCyclicWhen enabled, the index wraps so the end connects back to the start, letting the full range map evenly across the cycle.
InterpolateInterpolateWhen on, values are interpolated between samples. When off, the nearest sample is used.
Use Depth OffsetUsedepthoffsetEnable using the texture's depth offset for Texture 3D TOPs.
Normalize Sampling PositionNormalizesampleposEnable fitting the positions to 0-1 over the points' bounds before sampling.
Uniform ScaleScaleSpecifies a uniform scale factor for the texture space.
PAGEFalloff
Combine Falloff AttributeCombattrscopeSets the existing falloff attribute to combine with.
Swap Operation OrderSwaporderSwaps the order of the operands. A operation B is changed to B operation A.
Combine StrengthCombstrengthSets the blend of the combine operation, from 0 to 1.
Output Falloff AttributeOutputfalloffattrName of the attribute the falloff is written to.
Preview FalloffPreviewfalloffEnable coloring the points by the falloff.
Open Custom Ramp EditorOpencustomrampeditorOpen the editor of the custom preview ramp.
Reset Custom RampResetcustomrampResets the custom preview ramp.
PAGENoise
Apply NoiseApplynoiseEnable adding noise to the falloff.
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.
Translate 4DT4dnoiseTranslates the points through the 4th noise dimension.
PAGERemap
Enable RemapRemapEnable the remap controls.
ClampClampClamps the falloff values to the 0-1 range.
FitFitEnable fitting the values from the input range to the output range.
Auto Input Min MaxAutoWhen on, the actual minimum and maximum values are used as the input range.
Input MinInputminSets the minimum of the input range.
Input MaxInputmaxSets the maximum of the input range.
Output MinOutputminSets the minimum of the output range.
Output MaxOutputmaxSets the maximum of the output range.
InvertInvertInvert the falloff, outputting 1 minus the value.
Enable Ramp RemapEnablerampremapEnable remapping the falloff through a ramp.
Open Ramp EditorOpenrampeditorOpens the remap ramp editor.
Reset RampResetrampResets the remap ramp.
Custom Ramp TOPCustomramptopReference to a TOP used as the remap ramp, overriding the 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 PrimitivesRenderprimitivesWhether to render the full POPX geometry. When off, only point instances are drawn.
Convert to Point PrimitivesConverttoptprimEnable converting points to point primitives when Render Primitives is off.
SRT / RSTSrtrstSets the transform order, SRT or RST, used when the points are rendered as TouchDesigner instances.
Input 0 POP - POPX/POP Geometry
Input 1 TOP - Texture
Output 0 POP - POPX/POP Geometry