Planetside Software Forums

Support => Terragen Support => Topic started by: murkk on August 28, 2018, 09:00:10 AM

Title: upscaling "fake stones shader"
Post by: murkk on August 28, 2018, 09:00:10 AM
When I try to upscale the "fake stones shader" using transform input, the "pancake effect" disappears and the stones get stretched flat as shown in the attachment.
Title: Re: upscaling "fake stones shader"
Post by: murkk on August 28, 2018, 09:05:21 AM
twist and shear does help increase the displacement height but the "pancake effect" is still missing.
Title: Re: upscaling "fake stones shader"
Post by: WASasquatch on August 28, 2018, 04:55:47 PM
There may be part of the fake stones that don't respond well scaling. I've never attempted to transform fake stones as they have a internal scale.
Title: Re: upscaling "fake stones shader"
Post by: murkk on August 28, 2018, 08:45:07 PM
How would I go about completely leaving out "fake stones shader" when applying transform input in a node tree? My idea is to upscale "fake stones shader" within it's own parameters and then upscaling everything else with transform input.

edit: plugging the "fake stones shader" into "transform merge shader" with "use world space" enabled seems to work.
Title: Re: upscaling "fake stones shader"
Post by: WASasquatch on August 29, 2018, 04:42:05 AM
How would I go about completely leaving out "fake stones shader" when applying transform input in a node tree? My idea is to upscale "fake stones shader" within it's own parameters and then upscaling everything else with transform input.

edit: plugging the "fake stones shader" into "transform merge shader" with "use world space" enabled seems to work.

The "best" idea would to keep your fake stones as the child input of a surface layer, separate from your main terrain tree. You can than apply fake stones over whatever transformed terrain, while also being able to apply modifiers like altitude constraints and slope constraints.
Title: Re: upscaling "fake stones shader"
Post by: Dune on August 29, 2018, 05:52:20 AM
What is your intention exactly? Upscaling fake stones sounds like making their sizes bigger, and that can be done inside the fake stone shader.
Title: Re: upscaling "fake stones shader"
Post by: WASasquatch on August 29, 2018, 06:12:05 AM
What is your intention exactly? Upscaling fake stones sounds like making their sizes bigger, and that can be done inside the fake stone shader.

I think fake stones are just part of his terrain tree, and thus what he's transforming/scaling includes fake stones, rather than applying fake stones to whatever transform you're doing.
Title: Re: upscaling "fake stones shader"
Post by: Matt on August 29, 2018, 06:56:58 PM
The transform shaders only change the texture space which is used to calculate the shader. They don't change the magnitude of the displacement, although this is a feature that I'm thinking about adding.

Fake Stones Shader has a function input to control the scale and another to control the "tallness", so it is possible to control it with separate nodes (e.g. a Constant Scalar or Constant Vector). Depending on how your network is set up, you might find this useful.
Title: Re: upscaling "fake stones shader"
Post by: WASasquatch on August 29, 2018, 07:38:22 PM
The transform shaders only change the texture space which is used to calculate the shader. They don't change the magnitude of the displacement, although this is a feature that I'm thinking about adding.

Fake Stones Shader has a function input to control the scale and another to control the "tallness", so it is possible to control it with separate nodes (e.g. a Constant Scalar or Constant Vector). Depending on how your network is set up, you might find this useful.

I honestly keep forgetting about those two functions and how useful they really could be.
Title: Re: upscaling "fake stones shader"
Post by: Dune on August 30, 2018, 05:14:31 AM
They are VERY useful.