Hey all. Lately I have been working on realistic weather for my up-coming horror game. At the moment, I have been working on realistic rain and wet floors. And now I am working on rainy window effects. Here is what it currently looks like:
Yeah. It’s relatively performant. I designed it so it only renders the rain drops if you looking at the windows and if you are close enough. I could even go as far as adding a part cache, so im not creating and destroying parts constantly
Definitely recommend part caching.
I believe it’s called “object pooling”.
Creating and destroying stuff is expensive and constantly triggers garbage collection and new memory allocations (many people don’t seem aware of that for some reason).
Roblox handles rapid object creation/destruction pretty well but caching/pooling should certainly give a pretty good performance improvement.