I'm trying to apply a unique seed to a tile map for each object, to randomise window intensities.
I thought the vrayUserScalar might be a great way to achieve this as we can pipe a unique seed from the object into the shader, unfortunately, the vrayUserScalar is only producing map pixel colours, rather than integer values that can be used in float/integer values within the shader.
Would if be possible to make a variation of the vrayUserScalar map that I can use to pipe numeric information on an object-by-object basis into shader parameters such as seed, uv-offset, etc.
I can't think of another way to do this without going down a complex setup route.... unless anyone has any clever suggestions?
As a side note, I'd love to hear any clever uses people have found for the vrayUserScalar map?
Thanks
p.
I thought the vrayUserScalar might be a great way to achieve this as we can pipe a unique seed from the object into the shader, unfortunately, the vrayUserScalar is only producing map pixel colours, rather than integer values that can be used in float/integer values within the shader.
Would if be possible to make a variation of the vrayUserScalar map that I can use to pipe numeric information on an object-by-object basis into shader parameters such as seed, uv-offset, etc.
I can't think of another way to do this without going down a complex setup route.... unless anyone has any clever suggestions?
As a side note, I'd love to hear any clever uses people have found for the vrayUserScalar map?
Thanks
p.
Comment