- Home /
Material color trouble in WebGL Build
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.

Script: http://pastebin.com/cH8VTJyZ
Shader: http://pastebin.com/XEQJFN75
Answer by Tihonyuk · Jun 30, 2016 at 05:07 PM
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/
http://answers.unity3d.com/questions/978398/issue-with-shaders-and-webgl.html
Your answer
Follow this Question
Related Questions
Material doesn't have a color property '_Color' 4 Answers
Changing two different objects renderer colour 1 Answer
Materials are colored differently on rotated objects 1 Answer
UI Triangle Color picker 0 Answers
Find HDRP Lit Shader 1 Answer