Planetside Software Forums

General => Terragen Discussion => Topic started by: jritchie777 on May 31, 2010, 07:58:15 PM

Title: Water in the Create River heightfield?
Post by: jritchie777 on May 31, 2010, 07:58:15 PM
I seem to be running into a problem which I thought would be easy.  I've created a river using the heightfield function and then created a water shader and plugged it into the heightfield shader where the make river plugs into.  I have water in the river but it looks bad.  It just seems to be a thin layer of shading using the water.  It would have been nice to have a checkbox or something on the make river to fill it with water, but I did not see any such setting.  How can I get a realistic fill of water in the carved river?

I've tried other inputs as well -- at least ones that I could plug the water shader into, with no success either.

Thanks,
JR
Title: Re: Water in the Create River heightfield?
Post by: TheBlackHole on May 31, 2010, 08:09:23 PM
You need to ditch your current water shader. In your heightfield river, you'll need to create a Lake object so it fills the depressions in the ground from the Create River node.
Title: Re: Water in the Create River heightfield?
Post by: jritchie777 on May 31, 2010, 09:14:59 PM
Can't seem to link the Lake output to anything dealing with the Heightfield.  I get this symbol I've never seen before - 3 arrows in a circle, i guess depicting some sort of cyclic redundancy I guess...
Title: Re: Water in the Create River heightfield?
Post by: jritchie777 on May 31, 2010, 09:44:01 PM
Just using the lake to fill in seems to give just as bad results - any hints as to another path?
No matter how deep I make the lake object there always seems to be spill over on the banks as well.
Title: Re: Water in the Create River heightfield?
Post by: TheBlackHole on June 02, 2010, 04:42:45 PM
See just how deep you can get the heightfield river. Then try adjusting the Lake depth.
Title: Re: Water in the Create River heightfield?
Post by: Henry Blewer on June 02, 2010, 06:32:29 PM
I make the river operator cut the path at one altitude. It's a tricky operator because it updates before you get the inputs how you want them.
Anyway, keeping the river at one altitude makes things easier. Just add a plane object where the camera looks. Change/break connection to the default shader. Add the water shader. Things should work out after that.
Title: Re: Water in the Create River heightfield?
Post by: jritchie777 on June 03, 2010, 11:35:21 AM
Thanks for the input, my river started at one altitude then ended at a lower.  Much easier to fill in now that it is all one altitude.  Thanks!
JR