Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How can I display Vray bakes in Unity 5?

Discussion in 'Global Illumination' started by 121, May 3, 2015.

  1. 121

    121

    Joined:
    Nov 26, 2009
    Posts:
    199
    I'm using the Standard shader and want to tile textures and use Vray bakes as a lightmap.

    What's the best way as I don't want to use Unity's Baked GI.
     
  2. Cascho01

    Cascho01

    Joined:
    Mar 19, 2010
    Posts:
    1,347
  3. 121

    121

    Joined:
    Nov 26, 2009
    Posts:
    199
    Thanks Cascho01, I found that thread earlier and downloaded Jde's SetLightmapsManually.cs script.

    I'm not sure what I was doing but got it working eventually.
     
  4. WagDan

    WagDan

    Joined:
    Nov 7, 2014
    Posts:
    37
    Hi,

    We have managed to use that script to assign the maps, but when we press play or build the lightmap info is lost.

    Any ideas how to keep that lightmap array and index from getting wiped on start and on build?