Underwater lightning

Hello,

In the current project I’m working on its also possible to go underwater in some cases and I really want to make this a little bit more realistic. I’ve been searching for this for hours now but I just can’t find anything and I really don’t have any idea how I could create this effect, I’m not really experienced with effect. These 2 effects would make an underwater scene much nicer looking and I think there are more people who would like to have these effects :wink:

The first effect I want to achieve is this:
I’ve seen such effects but I would like to create a moving one witch has effect on the objects it shines on.
http://i.pbase.com/o4/91/43791/1/58647264.IMG_0275_Kealakekua_bay_sandy_bottom_FocusFixer5.jpg

Secondly I would like to create under water “god rays”. If these could also move and if these 2 effects are combine I think the underwater effect would be epic :slight_smile:
http://www.polygonblog.com/wp-content/uploads/2010/05/underwater.jpg

If anyone has any idea how to create one of these effects that would be great, because I really can’t think of any ways how to do this…

Thanks in advance!

Peter

No-one can help me out?

well first try to use the sun shaft, if you have refractive surface with bumpmap, sun shaft should go through water, but I don’t think the results would be that great. Another thing is to use billboards to create those god rays you are talking about, then add a scrolling noise to timing with the wave itself.

Thank you for your reply!

I’ve already tried the sun shafts, I’ve actually turned them off since I went under the water for the first time… The results of the sun shafts look really strange because I need to render the scene with 2 different camera’s to clear the water out of the ship [click].

The water I’m using is Water 4 with Unity 3.4

I think I could give these bilboard a try :slight_smile: thanks!

No problem if that doesnt work, you can always look at the asset store i believe there is an volumetric light solution there, but careful how you use it though.

I believe you are looking for lighting, not lightning.

Oh yes, I see the mistake… I don’t need a thunderstorm below the water :stuck_out_tongue:

Lets hope I can make a nice effect :slight_smile:

Looking forward to what you can make, send me a private message when you get something nice out:)

well you could create the first jpeg effect with the caustic generator Caustics Generator - Seamless water texture rendering
(don’t worry it is free, there is a free download on the bottom of the page).

It creates tilable and loopable caustics, free version up to 9 frames i think, you can then use that on a projector to get the desired effect.
The lightshafts are a bit more tricky.

the alzheimer lightshaft system could give you similar results, but they wouldn’t be animated tough.

But if you didn’t need a second camera, wouldn’t the built-in Unity sun rays work fine underwater? I’ve seen posts claiming they wouldn’t, but I don’t see why they wouldn’t work.