- Home /
uniform variables in fragment shader do not fit
I set a shader's global variable in my c# code and use this variable in the shader. It works correctly on my laptop and LG g5, but when I load it to my samsung galaxy s5, the shader doesn't work.
I'm trying to pass 512 float uniforms using SetFloatArray() My uniform array on the shader side is: float _Heights[512];
I check this error on Monitor Android Device:
Error: uniform variables in fragment shader do not fit in 224 vectors.
Help and thanks
Comment