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

Exporting to webgl Unity LWRP

Discussion in 'General Graphics' started by bugsbun, Sep 2, 2018.

  1. bugsbun

    bugsbun

    Joined:
    Jun 26, 2017
    Posts:
    27
    When I export the built in scene that is provided by the LWRP to WebGL, I loose all lightning information and post processing effect. What can I do to retain those effects and lighting. Where am I missing in the settings ? I have attached the 2 images showing the difference. I have done no changes in the scene, just added a cube to show the difference in lightning effect more properly.

    Here is the original in editor scene running in the playground :

    Capture in editor.PNG

    and here is the scene running in webgl :

    Capture IN WEBGL.PNG

    Thanks in advance!
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,845
  3. bugsbun

    bugsbun

    Joined:
    Jun 26, 2017
    Posts:
    27
    stylophone likes this.
  4. kayb14

    kayb14

    Joined:
    Jun 12, 2016
    Posts:
    10
    @aleksandrk so for web-apps vanilla unity is the way to go?
    Or did anything change with the 2019 release?
    I havent tried project tiny yet.
     
  5. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,845
    @kayb14 well, it depends on what your target is.
    If you're targeting WebGL2, LWRP should work. If you're not, then there's currenty no guarantee it does.