Can someone tell me if it is normal :
i wrote a GLSL shader (Frag & vertex), it is working fine as far as i use a Nvidia card, but it crashed the appli when used on an ati card saying it can't cast int to float.
7 juin 2007 12:08:52 com.jme.scene.state.lwjgl.LWJGLShaderObjectsState checkProgramError
GRAVE: ERROR: 0:66: '-' : wrong operand types no operation '-' exists that takes a left-hand operand of type 'const int' and a right operand of type 'uniform float' (or there is no acceptable conversion)
ERROR: 0:66: '>' : wrong operand types no operation '>' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 0:68: '-' : wrong operand types no operation '-' exists that takes a left-hand operand of type 'const int' and a right operand of type 'uniform float' (or there is no acceptable conversion)
ERROR: 0:68: '>' : wrong operand types no operation '>' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 0:91: 'assign' : cannot convert from 'const int' to 'float'
ERROR: 0:95: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 0:98: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 0:98: '-' : wrong operand types no operation '-' exists that takes a left-hand operand of type 'const int' and a right operand of type 'float' (or there is no acceptable conversion)
ERROR: 0:98: 'assign' : cannot convert from 'const int' to 'float'
ERROR: 9 compilation errors. No code generated.