Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

Spotlight from a torch now showing in webGl, alternatives?

Discussion in 'WebGL' started by damoklesh, May 3, 2016.

  1. damoklesh

    damoklesh

    Joined:
    Dec 26, 2015
    Posts:
    8
    Hello everyone! I have a completely dark scene, which is light up by the player´s torch.... This is a Spotlight.
    I use baked GI, but the spotlight is not showing on the WebGL build. is this not supported as well? Any alternatives? note: the standalone build is working fine

    Settings here
     
  2. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    could you please submit a bug report with a repro project ?
     
  3. damoklesh

    damoklesh

    Joined:
    Dec 26, 2015
    Posts:
    8
    Thank you!
    I´have just submitted the report...I have just one question: a real time spotlight is supposed to be supported in WebGL?
     
  4. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    There is a problem on Windows when using Deferred rendering, that we are currently investigating. For the time being you can use Forward rendering and you should be fine.
     
  5. damoklesh

    damoklesh

    Joined:
    Dec 26, 2015
    Posts:
    8
    Hello, sorry for the late reply...
    Thank you Marco, but the rendering path is already Forward rendering...any other idea?
     
  6. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    Not at the moment but if you submit a bug report with a repro project we can look at it ?
     
  7. damoklesh

    damoklesh

    Joined:
    Dec 26, 2015
    Posts:
    8
    Thank you Marco for your time! I'm kind of new...so I'm still learning.
    The problem was the light's render mode... i set it to "Important" and it is working now...

    Thank you again and Have a nice day :) !
     
    mark850418 likes this.
  8. PatBGames

    PatBGames

    Joined:
    Mar 28, 2009
    Posts:
    120
    OMG, you save me many hours, now my Spotlight works with WebGL :)