глупый вопрос в glsl, почему эта строка:
float x = 1 - gl_Color.x;
дает:
(26): error: Could not implicitly convert operands to arithmetic operator