Search Unity

[Unity 5] Mesh generated on-fly

Discussion in 'General Graphics' started by kenshin, Mar 10, 2015.

  1. kenshin

    kenshin

    Joined:
    Apr 21, 2010
    Posts:
    940
    Hi,

    is possible to use GI/Enlighten on webplayer with 3D models generated at runtime?

    Kenshin
     
  2. kenshin

    kenshin

    Joined:
    Apr 21, 2010
    Posts:
    940
    I know may be is not a popular problem... but any feedback from unity team is greatly appreciated!

    @any moderator: Today I saw a new shiny forum called "Global Illumination", if my post is in the wrong place, please move it. Thanks :)
     
  3. SunnySunshine

    SunnySunshine

    Joined:
    May 18, 2009
    Posts:
    977
    Only static objects are used in GI. I don't think you can make an object created at runtime static. If you want dynamic objects to receive bounce light, you have to use light probes.
     
  4. kenshin

    kenshin

    Joined:
    Apr 21, 2010
    Posts:
    940
  5. SunnySunshine

    SunnySunshine

    Joined:
    May 18, 2009
    Posts:
    977
    It's worth a shot. I wouldn't count on it. I think GI calculations regarding static objects are only done in the editor - never at runtime.
     
  6. kenshin

    kenshin

    Joined:
    Apr 21, 2010
    Posts:
    940
    Yes, absolutely could be.
    Will be great to have a feedback from unity team.