Spherize - How To? (630562)

Hi!

I’d like to ask you a question. I am currently working on an endless runner. It looks almost finished, but it still needs some final touches.

The game itself looks too flat. I want to achieve a “spherize” effect, kind of like the one shown in this video:

/ ABOUT THE 54:30 MARK

I want it to look like the world in “Subway Surfers” game, where the floor is also slightly curved.

Thank you in advance! :slight_smile:

You’re actually number 3.358 that is making a game like that in Unity I think. I’ve seen that spherize line come by a lot.

Found it:

v2f vert (inout appdata_full v)
  {
  v2f o;
  float4 vPos = mul (UNITY_MATRIX_MV, v.vertex);
  float zOff = vPos.z/_Dist;
  vPos += _QOffset*zOff*zOff;
  o.pos = mul (UNITY_MATRIX_P, vPos);
  o.uv = v.texcoord;
  return o;
  }

Comes from here.

You need [Curved World :wink:



](Curved World | VFX Shaders | Unity Asset Store)

VacuumShaders - Facebook Twitter YouTube