Hi
I want to use this with a transparent background:
https://tympanus.net/codrops/2015/11/04/rain-water-effect-experiments/
Any idea on how to change the provided shader etc?
Many thanks
Hi
I want to use this with a transparent background:
https://tympanus.net/codrops/2015/11/04/rain-water-effect-experiments/
Any idea on how to change the provided shader etc?
Many thanks
There's a cool demo linked from https://github.com/codrops/RainEffect,
By transparent, do you figure it would be enough to sample a texture containing a recent frame, or perhaps an environment map?
(Also mods this editing box is absolutely horrible sometimes - I wish it was less quirky to post responses here, I reckon it cripples the general forum interaction)
Yes in the demo they use a foreground and a background texture. Now for me it must be a transparent background texture. If you try the demo with a transparent background it looks terrible.
MikeCyber said:
Yes in the demo they use a foreground and a background texture. Now for me it must be a transparent background texture. If you try the demo with a transparent background it looks terrible.
What will be rendered behind the transparent background - what do you suppose you'd want to refract?
It's a game engine in the background, that I cannot control. I would want to avoid dull color maybe with a shader correction to make drops more look like water. Without background I have it mostly looking like the demo in old Internet Explorer, terrible.
ok it is better for u then, to learn how to code a rain shader and then u can change it as much as u like;
so follow this:
it's got 6 parts or so… the dude on the video said he doesn't know Maths -lol- so it's not scary ?
u'll be proud of yourself when u've gone through it all ?
as u follow the tute, u can edit your shader on shadertoy.com if u don't have anywhere else to try it on…
That's it … all the best ?
Thanks didn't know that site. If someone could compile the demo shader with shadertoy it would save me time, else I will take the plunge and learn shader from scratch.