Strange Bug with Terrain Colors

Started by Ben3D, November 07, 2016, 12:22:18 PM

Previous topic - Next topic

Ben3D

Hello, I have a problem with terrain colors in TG4.

[attach=1][attach=2][attach=3][attach=4]

As you can see at the bottom of each render is a line where a different color shows on the terrain. The renders are the same except for the resolution. The colored region changes depending on the resolution and camera angle. I have put a link of a cleaned version of the project in case anyone can tell me if I'm doing something wrong or if this is a bug.

TG4 Version 4.0.04 Windows 64 bits.

http://prezeau.net/Bug.zip

Thanks.

yossam

The sky color appears to be changing also.  ;)

Oshyan

You disabled the Background Node and this is creating unpredictable results. In general the Background Node is required to give "normal" rendering results. Re-enable it and the problem appears to go away.

- Oshyan

Ben3D

Yossam: I don't notice a difference in sky color but that may be my eyes  ;)

Oshyan: That did the trick. Thanks! In the original project I had 2 backgrounds: the original and a stars clip file that I found in this forum. I activated both and they seem to work together. At least, the result is correct. Is there a way to add the standard background when removed? I added it from a clip file of another Terragen file but I can't find how to add it from Terragen itself.

Ben3D

Finally, the 2 backgrounds didn't play nice as it seemed at first so I have re-deactivated the original background and chosen a camera angle that doesn't show the color change as I really like the stars.

Oshyan

You should be able to *replace* the default background with the Stars one, that should work fine.

- Oshyan

Dune

You could just make one with a huge, inverted (-2e+008), no-shadow sphere and a constant (2x black) shader.

Ben3D

Oshyan: I tried to use only the stars background but it didn't work. I don't know how to correct the problem since I am not the one who made the clip file but I made a render with the stars and no back and then a second render without the stars and the back and combined the renders to make a single correct image. Thanks.

Dune: Thanks.

Oshyan

Without knowing how the stars clip was setup or where you got it, I can't say how to fix it. But it ought to be possible... The background shader node is basically just a big sphere that the whole scene is inside of. If you assign a texture (procedural or otherwise) to it, it will show up in the background of your renders. That's the basic principle of how star shaders usually work in TG.

- Oshyan