Is there anyway to make....
-
- Posts: 11
- Joined: Mon Sep 29, 2008 4:31 pm
Is there anyway to make....
Is there anyway of making realistic rain on the camera lens? Like, when you are running about in a stormy level, and you get a splashes of rain on the camera that slides down. Now, if it is possible in this engine, does the first step equal making a bitmap of rain?
You could use this and parent it to the camera, or else modify the source to better suit your purposes.
shaders are the best way to do it really, basically you'll want to render to a texture and then do refraction based on a normal map you build up of raindrops running over the camera lens. How you'd make that normal map i don't really know... it would have to be randomly generated in realtime somehow... i'm sure if you google it you'll find some good tutorials about how to do this sort of thing.