Closed ThunderSphun closed 3 months ago
I was working on a geometry shader when i found that array indexing doesnt work correctly. I specify the incoming values as follows
in vec3 colorIn[1];
and use it like this
colorOut = colorIn[0];
However this gives the following error
incompatible types (vec3 and float) in assignment (and no available implicit conversion).
This error makes it feel that it doesn't recognize the variable being an array, just sees it as a vec3 and parses it like that.
vec3
I'll have a look at it next week if I find time. Thx for the ticket.
Ok for now all the errors are disabled anyway so im closing the that.
I was working on a geometry shader when i found that array indexing doesnt work correctly. I specify the incoming values as follows
and use it like this
However this gives the following error
This error makes it feel that it doesn't recognize the variable being an array, just sees it as a
vec3
and parses it like that.