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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Curving the world

Discussion in 'Shader Graph' started by WazupGames, May 30, 2020.

  1. WazupGames

    WazupGames

    Joined:
    Sep 7, 2019
    Posts:
    10
    Hello! I have a small question regarding curving the world... I have seen several youtube tutorials and they all suggest using a shader and use it for ALL materials in the game. I don't find this feasible at all and very time consuming to change all the materials.

    I have also come across this tutorial
    Code (CSharp):
    1. https://www.youtube.com/watch?v=77Lc43yTREo&t=603s
    Which states that I could apply a shader on top of the final image using custom Renderer Feature. Could i use this and somehow just bend the final image? As in just like in photoshop where you can bend images. And if so, any guides on how to do so?

    Many thanks for any help :)!!
     
  2. MissEmbyr

    MissEmbyr

    Joined:
    Nov 8, 2016
    Posts:
    13
    You could relocate pixels based on depth but it will result in undersampled areas of the image and sampling outside of 0-1 UV ranges and issues with needing pixels that are occluded, I wouldnt personally recommend trying to do any kind of 3d manipulation in post.

    If you really want to do this effect the proper way, it would be using Vertex Position in the shader for every object in your world. A post processing version of this effect would have many visual issues and isnt really possible.
     
    Last edited: Jun 1, 2020