Unity - Place Objects at Random Location - Select certain once to fade in or out.
Hi guys.
Any tips how I can achieve the following. I am trying to place objects in a area. Was thinking of using perlin noise. Fade them in and out according to value 0 to 1 in float value.
I want to then fade example the blue marked once out at 0.6f and then the the once marked in red at 0.3f and then all of them at 0f. Then back in according to the values.
What I want to use it for is to place 2d clouds at the points. Then fade them away or in according to how the storm / snow is being handled by my value from 0 to 1.
Have a good one!

Any tips how I can achieve the following. I am trying to place objects in a area. Was thinking of using perlin noise. Fade them in and out according to value 0 to 1 in float value.
I want to then fade example the blue marked once out at 0.6f and then the the once marked in red at 0.3f and then all of them at 0f. Then back in according to the values.
What I want to use it for is to place 2d clouds at the points. Then fade them away or in according to how the storm / snow is being handled by my value from 0 to 1.
Have a good one!

Comments
I can suggest a little helper for fading multiple values between multiple ranges based on a single linear input:
You can use the above helper to control the fading of all your cloud layers.
As for placement you can just use perlin noise to generate the positioning and their ranges, with time based offsets for whatever parallax effect you need post noise.
Thanks man