raymarch.wgsl
Name | Group | Binding index | Binding type | Type |
---|---|---|---|---|
depth_linear_sampler
#
![]() |
1 | 2 |
sampler
![]() |
|
depth_nearest_sampler
#
![]() |
1 | 3 |
sampler
![]() |
Name | Type |
---|---|
linear_steps |
u32
![]() |
bisection_steps |
u32
![]() |
use_secant |
bool
![]() |
linear_march_exponent |
f32
![]() |
jitter |
f32
![]() |
min_t |
f32
![]() |
max_t |
f32
![]() |
Name | Type |
---|---|
depth_tex_size |
vec2<f32>
![]() |
march_behind_surfaces |
bool
![]() |
depth_thickness |
f32
![]() |
use_sloppy_march |
bool
![]() |
Name | Type |
---|---|
linear_steps |
u32
![]() |
linear_march_exponent |
f32
![]() |
bisection_steps |
u32
![]() |
use_secant |
bool
![]() |
jitter |
f32
![]() |
ray_start_cs |
vec3<f32>
![]() |
ray_end_cs |
vec3<f32>
![]() |
march_behind_surfaces |
bool
![]() |
use_sloppy_march |
bool
![]() |
depth_thickness_linear_z |
f32
![]() |
depth_tex_size |
vec2<f32>
![]() |
Parameter | Type |
---|---|
v |
u32
![]() |
Parameter | Type |
---|---|
root_finder |
ptr<function, HybridRootFinder>
![]() |
start |
vec3<f32>
![]() |
end |
vec3<f32>
![]() |
distance_fn |
ptr<function, DepthRaymarchDistanceFn>
![]() |
hit_t |
ptr<function, f32>
![]() |
miss_t |
ptr<function, f32>
![]() |
hit_d |
ptr<function, DistanceWithPenetration>
![]() |
Parameter | Type |
---|---|
distance_fn |
ptr<function, DepthRaymarchDistanceFn>
![]() |
ray_point_cs |
vec3<f32>
![]() |
Parameter | Type |
---|---|
depth_tex_size |
vec2<f32>
![]() |
Parameter | Type |
---|---|
raymarch |
ptr<function, DepthRayMarch>
![]() |
dir_cs |
vec4<f32>
![]() |
infinite |
bool
![]() |
Parameter | Type |
---|---|
raymarch |
ptr<function, DepthRayMarch>
![]() |
v |
vec3<f32>
![]() |
from_cs
, as it will clip the world-space ray to the view frustum.Parameter | Type |
---|---|
raymarch |
ptr<function, DepthRayMarch>
![]() |
end_cs |
vec3<f32>
![]() |
from_cs
, as it will clip the world-space ray to the view frustum.Parameter | Type |
---|---|
raymarch |
ptr<function, DepthRayMarch>
![]() |
dir |
vec4<f32>
![]() |
from_cs
, as it will clip the world-space ray to the view frustum.Parameter | Type |
---|---|
raymarch |
ptr<function, DepthRayMarch>
![]() |
end |
vec3<f32>
![]() |
from_cs
, as it will clip the world-space ray to the view frustum.Parameter | Type |
---|---|
raymarch |
ptr<function, DepthRayMarch>
![]() |
dir |
vec3<f32>
![]() |
Parameter | Type |
---|---|
raymarch |
ptr<function, DepthRayMarch>
![]() |