From c6335e21f7b0b7bf8f0d05eef5ea854fbf560666 Mon Sep 17 00:00:00 2001 From: yum Date: Thu, 10 Aug 2023 18:46:02 -0700 Subject: Bump up ray marching steps Performance impact remains to be seen. --- Shaders/ray_march.cginc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shaders/ray_march.cginc b/Shaders/ray_march.cginc index 609e5d4..af4d1a4 100644 --- a/Shaders/ray_march.cginc +++ b/Shaders/ray_march.cginc @@ -206,7 +206,7 @@ float4 stt_ray_march(float3 ro, float3 rd, inout v2f v2f_i, inout float depth) float3 current_position = 0; float distance_to_closest = 1; - #define STT_RAY_MARCH_STEPS 32 + #define STT_RAY_MARCH_STEPS 64 float obj_id; float2 text_uv; -- cgit v1.2.3