Planetside Software Forums

General => Terragen Discussion => Topic started by: edlo on January 05, 2007, 02:05:41 PM

Title: Avoid shaders to affect all terrains ?
Post by: edlo on January 05, 2007, 02:05:41 PM
How to avoid the surface shaders to affect a height field terrain ? I have finished a rocky foreground but I wantsome other mountains a  bit to the background that are unaffected by all this stone shaders.
Is this possible?
Thanks.
Title: Re: Avoid shaders to affect all terrains ?
Post by: Njen on January 05, 2007, 02:18:48 PM
Ok, this is very quickly put together...there are probably better ways to do it, but I came up with this just then as an idea...Maybe someone can improve on this?
Title: Re: Avoid shaders to affect all terrains ?
Post by: edlo on January 05, 2007, 03:12:23 PM
Quote from: njen on January 05, 2007, 02:18:48 PM
Ok, this is very quickly put together...there are probably better ways to do it, but I came up with this just then as an idea...Maybe someone can improve on this?

Thanks Pal that was fast :)
I will try that
Title: Re: Avoid shaders to affect all terrains ?
Post by: Oshyan on January 05, 2007, 10:40:32 PM
Interesting approach! I'm honestly not sure what ramifications that has for the rest of the scene, but it does seem logical at least.

A more traditional approach would involve some kind of slope/height constraint/masking, or an image-based mask. There are a number of threads around the forums on how to do this, a search ought to turn one up.

- Oshyan
Title: Re: Avoid shaders to affect all terrains ?
Post by: rcallicotte on January 17, 2007, 02:03:06 PM
How do you create two Base Colours shaders?
Title: Re: Avoid shaders to affect all terrains ?
Post by: §ardine on January 17, 2007, 03:18:48 PM
Copy and paste (Ctrl+c Ctrl+v) works.
Title: Re: Avoid shaders to affect all terrains ?
Post by: rcallicotte on January 17, 2007, 04:03:09 PM
Thanks!
Title: Re: Avoid shaders to affect all terrains ?
Post by: Lucio on January 17, 2007, 06:19:29 PM
I also thought about that, and I tried to use image based masks to avoid a shader affecting the entire terrain and limitate it to a particular zone, with good results. However the node-based architecture of TG2 makes theoretically possibile multiple methods. This is also a great potential of the software, I guess :)
Title: Re: Avoid shaders to affect all terrains ?
Post by: §ardine on January 18, 2007, 11:31:22 AM
Not that it matters much, but for those who were wondering about where to find the Base Colors Shader in the menu list, it's a Power fractal shader v3 with displacement turned off and color on.

Kinda obvious now that I see it  :D
Title: Re: Avoid shaders to affect all terrains ?
Post by: Will on January 18, 2007, 07:32:36 PM
Heh, yea now that I think of it they are pretty much the same :)

Regards,

will