Search Unity

Modify a Skybox/Cubemap material from code

Discussion in 'Scripting' started by LFCB, Sep 20, 2017.

  1. LFCB

    LFCB

    Joined:
    Aug 21, 2015
    Posts:
    4
    Hi,

    Any ideas on how to modify a Cubemap (HDR) property from a material with a Skybox/Cubemap shader on runtime from a script?

    There is a link to see an image of what I´m trying to modify
    https://ibb.co/mSEER5
     
  2. RoMax92

    RoMax92

    Joined:
    May 29, 2017
    Posts:
    135
    Don't know what you are trying to do exaclty, but you can change the shader to do runtime effects
     
  3. RoMax92

    RoMax92

    Joined:
    May 29, 2017
    Posts:
    135