Planetside Software Forums

General => Terragen Discussion => Topic started by: mhaze on October 14, 2008, 09:02:47 AM

Title: colour bleed with fake stones
Post by: mhaze on October 14, 2008, 09:02:47 AM
Hi all

I've searched the forums for a solution but none of them seem to work.

The ground colour is leaking through onto the cracked stones. I've included the tgd i would be grateful if you could have at look at it and see where I'm going wrong
Title: Re: colour bleed with fake stones
Post by: rcallicotte on October 14, 2008, 12:07:39 PM
I've seen the same thing multiple times.
Title: Re: colour bleed with fake stones
Post by: AndyWelder on October 14, 2008, 03:17:37 PM
I've learned to see it as a feature, not a bug, because it's looking more natural that way: Sand, rubble or vegetation don't stop at a certain height, there are always spots above a certain height where there is sand, rubble or vegetation....
Not very helpful, I know.
Title: Re: colour bleed with fake stones
Post by: Oshyan on October 15, 2008, 01:24:18 AM
Fake stones are just a displacement effect, they do not themselves control texture distribution. So how are you controlling the distribution of your texture - by slope, by height, or some other way? In order to *ensure* that your texture does not cover any part of your fake stones you would need to use the fake stones layer as an inverted blend shader for your texture.

- Oshyan
Title: Re: colour bleed with fake stones
Post by: mhaze on October 15, 2008, 02:57:01 AM
Thanks Oshyan

I think that makes sense I'll have to experiment.

Mick
Title: Re: colour bleed with fake stones
Post by: bigben on October 15, 2008, 04:49:05 PM
Try duplicating the fake stones node (without the shaders) and connect this into the blending shader node of the green surface, and invert the blending shader.
Title: Re: colour bleed with fake stones
Post by: bigben on October 16, 2008, 03:54:02 AM
Quote from: bigben on October 15, 2008, 04:49:05 PM
Try duplicating the fake stones node (without the shaders) and connect this into the blending shader node of the green surface, and invert the blending shader.

Seems to work OK.
Title: Re: colour bleed with fake stones
Post by: mhaze on October 16, 2008, 04:19:20 AM
Thanks BigBen

This is having no effect at all on my machine I'm geting exactly the same results I'm using build 5(1.9.99.1)

Thanks again Mick
Title: Re: colour bleed with fake stones
Post by: mhaze on October 16, 2008, 05:16:26 AM
Wierd just run it a second time and it works!!!!

Title: Re: colour bleed with fake stones
Post by: bigben on October 16, 2008, 08:42:13 PM
The only other thing I can think of that migh go wrong is if the fake stones layer produces intermediate shades of grey in the mask. If this is the case, add a colour adjust node after the fake stones node being used as a mask and set the white level to 0.5  This should catch mosy other glitches (if they exist)
Title: Re: colour bleed with fake stones
Post by: mhaze on October 17, 2008, 03:56:21 PM
I had two instances of terragen running one with the old version and one with the new. When I closed the old one I got a clean result. There must have been some sort of interraction between them. I'll try the colot adjust anyway.

Thanks for the help I've learn't a lot with this project.

Mick
Title: Re: colour bleed with fake stones
Post by: bigben on October 17, 2008, 08:40:16 PM
Always make a copy of the file before opening up another instance of TG2