Search Unity

Help Wanted Material for Image UI component does not work in WEBGL

Discussion in 'Shader Graph' started by juliodutracora, Sep 11, 2019.

  1. juliodutracora

    juliodutracora

    Joined:
    Jun 11, 2019
    Posts:
    8
    Hi guys!

    I created a simple shader using shader graphs with Sprite Unlit as the master node. (LWRP).
    I am trying to use this material with an image component in the UI.

    upload_2019-9-11_14-15-32.png


    This material works just fine in the editor and windows:
    upload_2019-9-11_14-16-48.png
    running on editor and windows

    But, it does not work in WEBGL. The image component does not shows up. It keeps totally transparent.
    upload_2019-9-10_14-35-31.png running on webgl.


    Am i doing something wrong? This Sprite Unlite Master node is not supposed to be used on UI?

    Any thoughts?

    Thank´s!
     
  2. juliodutracora

    juliodutracora

    Joined:
    Jun 11, 2019
    Posts:
    8
  3. juliodutracora

    juliodutracora

    Joined:
    Jun 11, 2019
    Posts:
    8
    I identify the follow behaviour:
    - for the most of windows machines tested the image component does not shows up: firefox and chrome tested;
    - some machines, don´t know why yet, when I change the aspect of the browser window the component appears. As soon as I change the aspect again, the image component hides it self.

    I am very lost here.