View Full Version : Rain effects on glass
07-11-2012, 10:44 AM
Does anyone know how to enable rain effects on opaque surfaces? I have some windows which, when I make the material on it 'glass' removes the water pooling effect that the rain entity provides. Seems also as soon as you nudge the opacity down on an 'illum' material the same thing happens.
Any ideas? Cheers!
07-14-2012, 08:23 PM
Why don't you ask at work? Or CryDev for that matter?
Anyway, I have a feeling there's no easy workaround, I guess this is all in the shader code. You could use particles but it's definitely not a nice trick if you're gonna be having this all over the level.
07-15-2012, 12:49 AM
I posted this on a night I wasn't at work, hoping to get a quick reply. I've asked at work and on crydev since, no one seems too sure, guess it might not be possible. Thanks anyway!
You want a dynamic rain effect or just raindrops?
In any case I'd go for a normal map.
Edit: Oh, I see you just want to enable it while using the rain entity.
07-16-2012, 04:45 AM
Yep, the rain entity issue seems to be a CryEngine limitation, it's likely I'll have to make a normal map for the windows as a workaround
Here's what I've come up with.
It's a simple texture being scrolled with the oscillator.
I think it would look better with a texture thats actually animated
so that some drops appear and disappear, but the documentation on that is quite superficial.
07-17-2012, 09:33 AM
That looks pretty cool :) What I need it for is purely static screenshot purposes anyway, so it doesn't even need to be animated
I think I'll just create a normal map and add that to the window, will probably do the trick
07-18-2012, 01:04 PM
That was a really clever solution, nice work. ^^
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.