⚠️ The main shader is behaving differently on WebGL, making the game unplayable ⚠️

(More below)

I re-uploaded a Windows version here (10min too late (you can see when a page has been updated for the last time at the bottom of it))

https://garderemax.itch.io/loop-re-upload

Objective

Jump from loop to loop to climb the world, sounds easy? it is not...

Controls

[Left Mouse Button] Used to jump off the loops, Hold to slowdown (only on loops)


🏆 Leaderboard included, 🥇World record run:

I spend the last day trying to fix it but impossible. Contact me if you know how to solve it. Depth sampling is resulting is unexpected values

float depth = SampleSceneDepth(IN.texcoord);
float3 worldPos = ComputeWorldSpacePosition(IN.texcoord, depth, UNITY_MATRIX_I_VP);
float3 ro = _WorldSpaceCameraPos;
float3 viewDir = worldPos - _WorldSpaceCameraPos;
float viewLength = length(viewDir);