Planetside Software Forums

General => Terragen Discussion => Topic started by: gregtee on October 09, 2013, 09:44:19 PM

Title: Global Scaling Function
Post by: gregtee on October 09, 2013, 09:44:19 PM
Does anyone know if there's a way to globally scale an entire set of nodes? 

For example, I've made a rock formation I like, however it's too small in real world scale and I'd like to make say, 10x bigger.  Short of going into every node and moving decimal places over on every parameter, is there an easier way to do this?

Thanks

Greg

Title: Re: Global Scaling Function
Post by: dandelO on October 09, 2013, 10:28:07 PM
In TG2, plug the nodes you want to scale into the 'shader' input of a transform shader and use that to rescale. TG3 is the same but the node is called 'transform merge shader'. There's also a 'transform input' node in TG3 that doesn't have a 'shader' input but transforms the shaders plugged into the main 'input'.
Title: Re: Global Scaling Function
Post by: dandelO on October 09, 2013, 10:31:10 PM
Use 'position in terrain/texture', if available, in any nodes that enter the transform shader. Nodes using 'final position' won't be transformed.
Title: Re: Global Scaling Function
Post by: gregtee on October 10, 2013, 03:54:47 PM
Awesome, thanks a lot!

Greg