I was trying to create a spheremap from a Texture2D for a skybox at run-time (Standalone build) in Unity. Does anyone know if this is possible and how to do that in Unity?

In the editor you can set a texture to a cubemap and then select it's import setting as a spheremap, but I can't find a way to do this at run-time using the Unity API.

  • \$\begingroup\$ The only possible solution I've seen so far is having a sphere with a texture on the inside simulate being a spheremap, but that's not really the correct way to do a spheremap. \$\endgroup\$ May 29, 2015 at 17:23
  • \$\begingroup\$ Wouldn't it be a spheremap for a skydome or a skysphere, instead of for a skybox? \$\endgroup\$
    – MAnd
    Apr 26, 2016 at 13:13


You must log in to answer this question.

Browse other questions tagged .