Thread: water level
View Single Post
Old April 29th, 2008   #4 (permalink)
MasterZap
Member
 
MasterZap's Avatar
 
Join Date: May 2006
Location: Eskilstuna
Posts: 70

Name: Håkan Andersson


Sweden 


Talking Re: water level

Quote:
Originally Posted by manta View Post
Water level is clipping, you specify the depth, and what is below that, is cut. In this case, the black areas, so in this wicker texture , you can see through it...
You can do this.

You simply put the displacement map also into the cutout map. What you WANT do to is to threshold the cutout map.

Just do what you did, but with one addition: For the cutout, pipe the displacement map through the "Output" shader, and set a curve with a sharp discontinuity on it. It should look like a stairstep, with everything below a certain level should be 0, and everything about that level should be 1.



/Z
__________________
mentalraytips.blogspot.com - mr Zap Andersson - a completely mental shader guy

Last edited by MasterZap; April 29th, 2008 at 12:51 AM. Reason: Added Image
MasterZap is offline   Reply With Quote