mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-09-20 12:25:59 +08:00
683 B
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 |