[ad_1]
Sport Improvement Stack Trade is a query and reply web site for skilled and unbiased recreation builders. It solely takes a minute to enroll.
Anyone can ask a query
Anyone can reply
The most effective solutions are voted up and rise to the highest
Requested
Seen
9 instances
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$
lang-cs
[ad_2]