It can be any number, but the number of elements (k) in the array must match the number of instances specified in the cg shader.
In the cg file:
uniform float4 offsets[256],
It can be any number, but the number of elements (k) in the array must match the number of instances specified in the cg shader.
In the cg file:
uniform float4 offsets[256],