арифметический оператор glsl

глупый вопрос в glsl, почему эта строка:

float x = 1 - gl_Color.x;

дает:

(26): error: Could not implicitly convert operands to arithmetic operator
7
задан genpfault 25 February 2015 в 19:10
поделиться