Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Spherical Environment Map

Discussion in 'Shaders' started by noradninja, Apr 7, 2008.

  1. noradninja

    noradninja

    Joined:
    Nov 12, 2007
    Posts:
    420
  2. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    Spherical environment maps are easy to do in Unity but actually slower than cubemaps because the vertex shader / fixed function pipeline needs per vertex sin/cos functions to look the uv coordinate. Cubemaps on the other hand have better hardware support and you don't get stretching artifacts.
     
  3. noradninja

    noradninja

    Joined:
    Nov 12, 2007
    Posts:
    420
    I didn't realize that actually, interesting. Thanks for the info.