Original Post
I can't figure out why I'm getting the following error and having my app crashing: Shader Linking Error: Vertex info ----------- (8) : warning C7011: implicit cast from "int" to "float" (28) : warning C7011: implicit cast from "int" to "float" (28) : warning C7011: implicit cast from "int" to "float" (18) : warning C7011: implicit cast from "float" to "int" (18) : error C5025: lvalue in assignment too complex Here's the part of the shader If I replace the vec4(gl_MultiTexCoord1.xyz, 0.0) with simply 1.0, 0.0, 0.0, 0.0 the app runs just fine.
mat4 newMatrix = mat4(vec4(gl_MultiTexCoord1.xyz, 0.0),
0.0, 1.0, 0.0, 0.0,
0.0, 0.0, 1.0, 0.0,
0.0, 0.0, 0.0, 1.0);