Skip to main content
Link
Menu
Expand
(external link)
Document
Search
Copy
Copied
RayTK
RayTK Development and Design Principles
Release Notes
Guide
About RayTK
Getting Started With RayTK
Concepts
The Palette
Editor Tools
The Inspector
Tutorials
Output Buffers
Variables
Fields
Iteration
Updating Scenes
Troubleshooting
Optimization Tips
Addons
Contact
Reference
Operators
Camera Operators
basicCamera
cameraRemap
fieldCamera
fisheyeCamera
linkedCamera
lookAtCamera
orthoCamera
splitCamera
Combine Operators
arrange
boundLimit
combine
combineFields
composeSdf
compositeFields
edgeCombine
iterationSwitch
layoutGrid
mergeFields
mixFields
shapedCombine
simpleDiff
simpleIntersect
simpleUnion
switch
triPlanarCombine
Convert Operators
coordTo2D
coordTo3D
crossSection
extrude
extrudeLine
floatToSdf
floatToVector
projectPlane
projectPolar
revolve
sampleAlongLine
sweep
vectorToFloat
Custom Operators
customOp
Field Operators
atmosphereField
axisDistanceField
bandField
blackbodyColorField
cellTileField
chopField
colorRampField
colorSwitchField
constantColorField
constantField
constantSwitchField
curlNoiseField
dataTextureField
domainColorField
enhancedWaveField
hashField
hsvColorField
iterationField
magnetField
metaballField
multiPointDistanceField
nearestRingPointField
noiseField
normalField
pointDistanceField
polarCoordField
polarVectorField
positionField
rampField
rayField
reorderField
sdfField
sdfNormalField
spectralColorField
stepField
terrainNoiseField
texture1dField
texture3dField
textureField
triPlanarTextureField
uvField
waveField
waveVectorField
waveletNoiseField
worleyNoiseField
Filter Operators
adjustColor
applyTransform
assignAttribute
assignColor
assignDensity
assignUV
axisRotate
bend
cameraTransform
cartesianToPolar
circularRepeat
elongate
extend
fieldExpr
fieldFunction
flip
fold
geometricSeriesSquareTile
gridClone
helixWarp
hilbertCurveTransform
instance
instanceField
invert
iteratedTransform
kink
knife
lightTransform
limitArea
limitField
limitLight
linearClone
logPolarRepeat
lookAtRotate
magnet
mirrorAxes
mirrorOctant
mirrorQuadrant
mobiusTransform
modifyDistance
modifyNormals
modulo1D
modulo2D
modulo3D
moduloDistance
moduloLine
moduloPolar
moduloSpherical
moduloToroidal
onion
polarToCartesian
quadTreeRepeat
quantizeCoords
quantizeValue
radialClone
radialSlice
rangeTransform
rectangleRepeat
reflect
remapCoords
reorderCoords
rescaleField
rescaleFloatField
reshapeValues
restrictStage
rotate
rotate4D
rotateNormals
round
scale
slice
sphericalMobiusTransform
spin
spiralZoom
transform
transformSequence
translate
twirl
twist
uvTransform
waveWarp
Function Operators
addFn
almostIdentityFn
chopFn
colorPaletteFn
crossFn
cubicPulseFn
easeFn
extendFn
flipFn
gainFn
impulseFn
joinFn
modulateFn
multiplyFn
parabolaFn
pausingWaveFn
pennerEasingFn
powerCurveFn
rainbowFn
sincCurveFn
stepFn
waveFn
Light Operators
ambientLight
axisLight
directionalLight
hardShadow
instanceLight
lightVolume
linkedLight
multiLight
pointLight
ringLight
softShadow
spotLight
volumetricRayCast
Material Operators
backgroundFieldContrib
basicMat
colorizeSdf2d
diffuseContrib
goochShadingContrib
hologramContrib
iridescenceContrib
matCapContrib
modularMat
pbrMat
phongMat
reflectContrib
reflectMat
rimContrib
sampledPointMat
shadingProperty
shadowContrib
skyLightContrib
specularContrib
subsurfaceContrib
surfaceColorContrib
toonShadingContrib
Output Operators
customRender
fieldRender
functionGraphRender
pointMapRender
raymarchPreviewPanel
raymarchRender3D
render2D
renderSelect
texture3dRender
volumetricRaymarchRender3D
Pattern Operators
blobRingPattern
brickPattern
checkerPattern
gridPattern
hexagonalGridPattern
hexagonalTruchetPattern
hexagonalWeavePattern
knitPattern
rosettePattern
snubQuadrilePattern
spiralPattern
tilingPattern
triangleCheckerPattern
truchetPattern
waveGreekFriezePattern
weavePattern
Post Operators
depthMap
nearHitMap
objectIdMask
stepMap
worldPosMap
Sdf Operators
amazingSurfaceSdf
apollonianSdf
archSdf
bezierSdf
boxFrameSdf
boxSdf
bunnySdf
capsuleSdf
chainSdf
chamferBoxSdf
coneSdf
crescentSdf
crossSdf
cutSphereSdf
cylinderSdf
discSdf
dodecahedronFractalSdf
ellipsoidSdf
generalizedPolyhedronSdf
geodesicSdf
gridSdf
gyroidSdf
headSdf
helixSdf
hyperbolicParaboloidSdf
jointSdf
juliaSdf
kaliGeneratorSdf
latticeSdf
lineSeriesSdf
linkSdf
mandelbulbSdf
mengerSpongeSdf
mobiusRingSdf
octahedronSdf
petalSdf
pistonSdf
planeSdf
polyhedronSdf
prismSdf
pyramidSdf
quadSdf
ringsSdf
segmentedLineSdf
solidAngleSdf
sphereFbmSdf
sphereGridSdf
sphereSdf
spiralSdf
springSdf
stackSdf
tetrahedronSdf
torusGridSdf
torusSdf
truncatedPyramidSdf
twistedRingsSdf
vesicaSegmentSdf
Sdf2d Operators
arbitraryPolygonSdf2d
arcSdf2d
archSdf2d
arrowSdf2d
bezierSdf2d
blobbyCrossSdf2d
branchingTreeSdf2d
chamferRectangleSdf2d
circleSdf
circleWaveSdf2d
coolSSdf2d
cornerSdf2d
crossSdf2d
cutDiscSdf2d
dogBoneSdf2d
eggSdf2d
ellipseSdf2d
flowerSdf2d
heartSdf2d
hexagonalGridSdf2d
horseshoeSdf2d
isoscelesTriangleSdf2d
jointSdf2d
kochSnowflakeSdf2d
lineSegmentSdf2d
moonSdf2d
parabolaSdf2d
parallelogramSdf2d
pieSdf2d
pistonSdf2d
planeSdf2d
polySplineSdf2d
polygonSdf2d
quadSdf2d
rectangleSdf
rhombilleTilingSdf2d
rhombusSdf2d
roundedRectangleSdf2d
spikeSdf2d
spiralSdf2d
stairSdf2d
starSdf2d
subdivisionSdf2d
superQuadSdf2d
textSdf2d
trapezoidSdf2d
triangleSdf2d
triangularGridSdf2d
vesicaSdf2d
vesicaSegmentSdf2d
wedgeSdf2d
Time Operators
lfoField
timeField
timeShift
Utility Operators
exposeValue
getAttribute
injectGlobalPosition
injectObjectId
lfoGenerator
paramFilter
providePosition
provideVariable
restrictTypes
speedGenerator
variableList
variableReference
Volume Operators
fieldVolume
sdfVolume
texture3dVolume
Development
ROP Structure
ROP Code
The Build Process
Data Type Handling
The Raymarching Process
Variable Handling
Documentation Processing
ROP Elements
Shader Builder
Community
Community Showcase
View on GitHub
Downloads
Operators
Function Operators
rainbowFn
Operators
Function Operators
rainbowFn
rainbowFn
function
rainbowFn
RayTK
v0.42
Parameters
Name
Description
Regular Handling
Read-Only Handling
Phase
Runtime
Baked