Search Unity

Inconsistent results between editor and device, logs are empty

Discussion in 'Shaders' started by noamgat, Mar 15, 2016.

  1. noamgat

    noamgat

    Joined:
    Nov 22, 2009
    Posts:
    125
    Hi,

    I create a shader that works and runs fine in editor.
    However, when I build to android, it looks wrong. It doesn't switch to another shader because I see some of the effect of the shader, but its wrong.
    It feels like I'm passing an instruction limit (when I look at the compiled code I see

    Stats: 288 math, 9 textures, 17 branches
    )

    During runtime, the adb logs say nothing. Where else can I look? Is there a documented limit for GLES2 shaders? I cannot find it.

    Thanks!