1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-09-20 12:25:59 +08:00
Files
Godot-Shader-Lib/documentation/Nodes/RayMarching/RayMarch.md
Digvijaysinh Gohil c4e47d37eb Update RayMarch.md
2024-03-26 11:00:59 +05:30

683 B

Ray March node

A simple ray marcher.


Inputs

Name Type Binding Description
signed distance float none Signed distance calculated from Signed Distance Functions (SDFs)
ray origin vec3 none Ray origin
ray direction vec3 none Normalized ray direction
max steps int none Maximum number of steps for ray marching
max distance float none Maximum distance to march along the ray direction
distance threshold float none Threshold to check against signed distance to determine the ray intersection point.

Outputs

Name Type Binding Description
distance float None Ray intersection distance