Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

WEbGL build doesn't even closely match editor

Discussion in 'WebGL' started by VicToMeyeZR, May 4, 2017.

  1. VicToMeyeZR

    VicToMeyeZR

    Joined:
    Jun 3, 2012
    Posts:
    427
  2. jRocket

    jRocket

    Joined:
    Jul 12, 2012
    Posts:
    687
    Are you using Realtime GI? I believe that is not supported in WebGL
     
  3. VicToMeyeZR

    VicToMeyeZR

    Joined:
    Jun 3, 2012
    Posts:
    427
    I am, because if i use baked maps, I get really bad shadow splotches.
     
  4. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    as @jRocket mentioned, realtime GI is not currently supported on WebGL
     
  5. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,067
  6. VicToMeyeZR

    VicToMeyeZR

    Joined:
    Jun 3, 2012
    Posts:
    427
    well i have read all those. doesn't really help, why baked maps are crap..
     
  7. Matt_at_mindtrigger

    Matt_at_mindtrigger

    Joined:
    Jan 20, 2014
    Posts:
    57
    What exactly do you mean by "shadow splotches"?
    Could you provide a screenshot?
     
  8. VicToMeyeZR

    VicToMeyeZR

    Joined:
    Jun 3, 2012
    Posts:
    427
  9. Matt_at_mindtrigger

    Matt_at_mindtrigger

    Joined:
    Jan 20, 2014
    Posts:
    57
    Hmmm... if I'm not mistaken that's what happens when your objects do not have lightmapping UV coordinates created for them. Make sure to check "Create Lightmap UVs" in the inspector-settings of all your mesh-files (some objects seem to already have correct UVs - like the chairs and the stove).
     
  10. VicToMeyeZR

    VicToMeyeZR

    Joined:
    Jun 3, 2012
    Posts:
    427
    I have been through hundred pages of search. Been there, done that.
     
  11. VicToMeyeZR

    VicToMeyeZR

    Joined:
    Jun 3, 2012
    Posts:
    427
    I do appreciate your responses..
     
  12. VicToMeyeZR

    VicToMeyeZR

    Joined:
    Jun 3, 2012
    Posts:
    427
    Can you explain what exact type of lighting build happens, if I have only realtime selected and hit the build lightmap button? Because that does work on WebGL builds.. It's just difficult to find the right sweet spot on the build, but shadows/lights they all work.
     
  13. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    869
    Cool looking scene, how are you generating the menus, is it a unity asset form the asset store? which?
     
  14. VicToMeyeZR

    VicToMeyeZR

    Joined:
    Jun 3, 2012
    Posts:
    427
    The menu is my own design
     
  15. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    869
    Looks nice, maybe you can consider making it an asset in the asset in the asset store? i would buy it. I need menu really bad! The one i got from asset store when you click on it, what ever is behind it gets clicks also, and it has some other problems too!
     
  16. VicToMeyeZR

    VicToMeyeZR

    Joined:
    Jun 3, 2012
    Posts:
    427
    Sadly we will not be.