Planetside Software Forums

General => Terragen Discussion => Topic started by: Mohawk20 on April 26, 2015, 01:54:06 PM

Title: Object Shadows - and Shaders
Post by: Mohawk20 on April 26, 2015, 01:54:06 PM
I made a lighthouse in 3DsMax, imported the obj in Terragen and placed a light in a sphere with a small hole, hoping the light would only come out on that side. However, the light just goes through everything...
Is there a setting I'm missing?
Title: Re: Object Shadows
Post by: paq on April 26, 2015, 02:27:27 PM
You probably have to activate 'receive shadow from surfaces' in the quality settings of the atmosphere node.
Title: Re: Object Shadows
Post by: Mohawk20 on April 26, 2015, 02:51:09 PM
Dôh! Rookie mistake. Working with Terragen for more than 10 years, and then this!
Didn't use objects like this before though...  :-X
Title: Re: Object Shadows
Post by: Dune on April 27, 2015, 03:25:31 AM
On the other hand, in a setting like this the glowing 'overpowering' effect is nice and more photographic than with all clean dark lines of the lighthouse structure.
Title: Re: Object Shadows
Post by: bobbystahr on April 27, 2015, 05:34:32 PM
Quote from: Dune on April 27, 2015, 03:25:31 AM
On the other hand, in a setting like this the glowing 'overpowering' effect is nice and more photographic than with all clean dark lines of the lighthouse structure.

i thought the same thing, maybe more samples/less noise...guess he wants a focused beam effect...
Title: Re: Object Shadows
Post by: Mohawk20 on May 05, 2015, 06:12:07 AM
Well, I liked this as well, so I'm keeping it in mind. I'll do several finished renders some dark, some with fog, etc.
But I hit another bump...
In below picture you see the tower obj and a terragen cube shape. Both have exactly the same shader (the tower has the shader put into the respective object part node in the object shader).

Why doesn't the powerfractal pattern show on the tower?
Title: Re: Object Shadows - and Shaders
Post by: Dune on May 05, 2015, 12:47:35 PM
You have to pull the PF through a transform shader set to world space.
Title: Re: Object Shadows - and Shaders
Post by: bobbystahr on May 06, 2015, 10:55:49 AM
Ah your best friend in TG3, the Transform Shader. I think the transform function should be available by default on all shaders. In Imagine3D the transform was globally available in every situation and without calling it into the stack,,,was just always there IIRC...been a while.