Planetside Software Forums

General => Image Sharing => Topic started by: sonshine777 on April 21, 2007, 05:47:56 PM

Title: Fake Transparent Water
Post by: sonshine777 on April 21, 2007, 05:47:56 PM
I have developed a new way to make "Fake Transparent Water".

I have altered the water shader by using a merge shader to combine the water shader with an image shader.

1.The image shader is used to overlay a "through the camera" version of the scene without any water or other
objects, as illustrated in the top image. I found a POV I liked and then rendered the first image. I then made some minor modifications to this image ie... caustics and saved it.

2. The merge shader is used to combine the water shader with the image created earlier. The water shader is plugged into the input port of the merge shader, and the image shader into the shader "A" port. I left all of the merge settings to their default except for the "Mix to A" setting which I set to .2 this can be adjusted, the higher this number the more the image will show through.

This technique works well with still images it made be too cumbersome for animations, as every change in the camera position would require a new image.

Hope this information is helpful. Enjoy! :)
Title: Re: Fake Transparent Water
Post by: RealUser on April 21, 2007, 05:54:38 PM
Cool, thank you very much for your efforts! :-)
Title: Re: Fake Transparent Water
Post by: rcallicotte on April 22, 2007, 07:54:31 AM
Very nice.  Thanks for the explanation.  Sounds useful.
Title: Re: Fake Transparent Water
Post by: Mohawk20 on May 15, 2007, 01:06:50 PM
For animation, you 'only' need to run the anim twice. Once without water, and once with. Only problem is it takes a lot of work to set the image shader for every frame.

Can it also be tweeked to have less transparency where the water gets deeper?
Title: Re: Fake Transparent Water
Post by: sonshine777 on May 15, 2007, 01:27:15 PM
I have used a distance shader inline with the image shader with some success, still perfecting it though.
Title: Re: Fake Transparent Water
Post by: bobbystahr on September 27, 2007, 05:07:18 PM
Quote from: sonshine777 on April 21, 2007, 05:47:56 PM
I have developed a new way to make "Fake Transparent Water".
Hope this information is helpful. Enjoy! :)

Hello sonshine777.........Indeed you have and yes it was very helpful. I read about this in, of all places, the Vue Forum at Renderosity in a thread about Vue doing water as well as TG2 and dandelO posted a few examples using your brilliant technique. Attached is a small first test render using fairly lo res(.25 detail render) subsurface image. Thanx very much...many pats on the back friend of TG2.. ...
Title: Re: Fake Transparent Water
Post by: sonshine777 on September 28, 2007, 02:35:20 AM
Tanks Bobby, I hope to have some progress images posted soon. I have been really busy working on finishing some camoes.
Title: Re: Fake Transparent Water
Post by: Seth on September 29, 2007, 11:55:57 AM
hey i tried too ! that's fun !


(http://i22.servimg.com/u/f22/10/05/42/42/cailla10.jpg)


(http://i22.servimg.com/u/f22/10/05/42/42/sweet_10.jpg)
Title: Re: Fake Transparent Water
Post by: dhavalmistry on September 29, 2007, 12:05:34 PM
nice results seth.......

can I ask sonshine......how did you add caustics in photoshop?
Title: Re: Fake Transparent Water
Post by: rcallicotte on September 29, 2007, 12:48:50 PM
Astonishing results, Seth.  I'm tempted to say these look like photos.  Nice!
Title: Re: Fake Transparent Water
Post by: Seth on September 29, 2007, 01:05:21 PM
thanks dude !  :D

oh here is the tgd of the second one... if someone wanna try another POV or lighting or anything...
Title: Re: Fake Transparent Water
Post by: rcallicotte on September 29, 2007, 01:45:01 PM
Thanks Seth!
Title: Re: Fake Transparent Water
Post by: dhavalmistry on September 29, 2007, 01:48:35 PM
yeah thanx for the tgd
Title: Re: Fake Transparent Water
Post by: Seth on September 29, 2007, 02:11:02 PM
de nada !
Title: Re: Fake Transparent Water
Post by: bobbystahr on September 29, 2007, 03:05:54 PM
Indeed thanx very much...it's always helpful to have many takes on a technique...often leads to new discovery....love this forum.. ...
Title: Re: Fake Transparent Water
Post by: rcallicotte on September 29, 2007, 04:55:21 PM
Yes! 

Quote from: bobbystahr on September 29, 2007, 03:05:54 PM
...love this forum.. ...
Title: Re: Fake Transparent Water
Post by: sonshine777 on September 29, 2007, 05:48:22 PM
Quote from: dhavalmistry on September 29, 2007, 12:05:34 PM
nice results seth.......

can I ask sonshine......how did you add caustics in photoshop?


The caustics in this thread is created in a caustics generator, then rendered as a surface layer that did not go above the waterline. I think I did touch up the image a little before using it as the underwater merge image. I am currently rendering a couple of new images and will post them probably on Monday with some tgc's and node screen shots,

By the way keep up the great work seth
Title: Re: Fake Transparent Water
Post by: Seth on September 29, 2007, 05:57:37 PM
Quote from: sonshine777 on September 29, 2007, 05:48:22 PM


By the way keep up the great work seth


Sir yes Sir !
Title: Re: Fake Transparent Water
Post by: sjefen on September 30, 2007, 03:52:01 PM
Looking forward to it sonshine777 :)
Title: Re: Fake Transparent Water
Post by: Seth on November 30, 2007, 10:59:34 AM
mmmh Sonshine, did you get some niiice result with the distance shader on fake transparency ?
it's been a while so i dig this topic up ^^