Hello, i’m created script for change color from 3 UI Slider. In editor all work good. But in WebGL build, color change with trouble. Red - change grayscale, Green and Blue - not counted.
[72820-снимок.png|72820]
Script:
Shader:
Hello, i’m created script for change color from 3 UI Slider. In editor all work good. But in WebGL build, color change with trouble. Red - change grayscale, Green and Blue - not counted.
[72820-снимок.png|72820]
Script:
Shader:
Hmm, I think there is troubles with executing shader at runtime on WebGL, Try to change shader model and shader.
Also check this:
http://forum.unity3d.com/threads/standard-shader-differences-in-webgl.314388/