- Home /
Alternative Android Shader for Fragment?
Not quite sure with shader stuff...
I get the following via logcat and the camera stops rendering... this is a shader that's used for an Image Effect... works fine on iOS just bins out on Android ES 2.0 :(
E/Unity (20714): -------- GLSL error: Fragment shader compilation failed.
E/Unity (20714): WARNING: 0:6: extension 'GL_EXT_shader_texture_lod' is not supported
E/Unity (20714): ERROR: 0:87: 'textureCubeLodEXT' : no matching overloaded function found
E/Unity (20714): ERROR: 0:87: 'assign' : cannot convert from 'const float' to '4-component vector of float'
E/Unity (20714): ERROR: 2 compilation errors. No code generated.
Can anyone share any pointers?
Comment
Well, without seeing your shader code it's hard to say much, other than you're clearly using a function that isn't supported by GLES 2.0