$begingroup$

The documentation for Materials.SetFloatArray it states:

Units a float array property on the fabric. If a float array property with the given identify already exists, the outdated worth is changed.

If I set the identical array on a number of shaders, is the float array shared amongst shaders like texture, or will each shader have its personal copy of the array? (Which multiplies the quantity of RAM wanted by the quantity of shader that use it.) If the array shouldn’t be shared, then is there any technique to set array in such a approach that the array is shared between shaders?

$endgroup$

You need to log in to reply this query.

Browse different questions tagged .