diff --git a/crates/bevy_pbr/src/render/utils.wgsl b/crates/bevy_pbr/src/render/utils.wgsl index 90ad0934e5..20b71ee834 100644 --- a/crates/bevy_pbr/src/render/utils.wgsl +++ b/crates/bevy_pbr/src/render/utils.wgsl @@ -2,10 +2,6 @@ let PI: f32 = 3.141592653589793; -fn saturate(value: f32) -> f32 { - return clamp(value, 0.0, 1.0); -} - fn hsv2rgb(hue: f32, saturation: f32, value: f32) -> vec3 { let rgb = clamp( abs(