Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Increase Render Distance from the sides?

Discussion in 'General Graphics' started by Voxel-Studios, Oct 3, 2015.

  1. Voxel-Studios

    Voxel-Studios

    Joined:
    Oct 3, 2015
    Posts:
    3
    Hello, everyone!

    This is my first question on these forums.

    How do you increase the render distance from the sides? I'm making a Sonic Xtreme game, and I'm having rendering issues because I'm using a fisheye/vertex shader.

    This is what I mean:


    As you can see from the video, the blocks disappear. Can anyone help me?
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,236
    The thing you're looking for is frustum culling.

    There are a ton of posts about how people have gone about solving it, but there's no single easy fix. For your case I might suggest a solution I haven't seen elsewhere of pulling the camera further back and then pushing the geometry back towards the camera in the shader.
     
  3. Voxel-Studios

    Voxel-Studios

    Joined:
    Oct 3, 2015
    Posts:
    3
    Thank you! :)