diff options
Diffstat (limited to 'common/shaders/render/shadows.wgsl')
| -rw-r--r-- | common/shaders/render/shadows.wgsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/shaders/render/shadows.wgsl b/common/shaders/render/shadows.wgsl index 7cba089..b71e073 100644 --- a/common/shaders/render/shadows.wgsl +++ b/common/shaders/render/shadows.wgsl @@ -1,4 +1,4 @@ -fn calc_shadow(ro: vec3<f32>, rd: vec3<f32>, tmin: f32, tmax: f32, skip_idx: u32) -> f32 { +fn calc_shadow(ro: vec3f, rd: vec3f, tmin: f32, tmax: f32, skip_idx: u32) -> f32 { var res = 1.0; var t = tmin; if (t < 0.05) { t = 0.05; } |
