Forum

EX9.Effect weird array behaviour

try to define an 1-dimensional arrayed input like this:
float VVVVloat4 = { -0.4359, 0.1607, 0.1664, 0.5123};
the pin doesn’t show up.

however 2,3,4-dimensional arrayed inputs like
float2 VVVVloat4
float3 VVVVloat4
float4 VVVVloat4
do work fine.

same behaviour for
half4
double4


bool4
int4
work almost as expected:
bool24,bool34,bool44, int24,int34,int44
even have the correct subtype.
the 1-dimensionals don’t!

see attached fx in inspector.

ArrayBehaviour.fx (11.6 kB)

great find, thanks. fixed for beta>21. now also resetting array pins works as expected.

vvvvoooohhhhoooovvvv!!!

nice!
'cause i really appreciate pins to have a proper subtype…