Planetside Software Forums

General => Terragen Discussion => Topic started by: paq on September 22, 2015, 03:09:36 PM

Title: Fractal warp on heightfield terrain.
Post by: paq on September 22, 2015, 03:09:36 PM
Hello guys,

Is there any trick to use the Fractal Warp Shader working on an heightfield terrain ?
I can make the shader working on any procedural noise (powerfractal), but is doesn't seems to have
any effect on an heightfield. (plug direct after the heightfield shader).

Thanks for any input !
Title: Re: Fractal warp on heightfield terrain.
Post by: Hetzen on September 22, 2015, 04:57:04 PM
Should work. I've always assumed it was a displacement rather than a texture space operation. Dial in some large values into the warp amount to check.
Title: Re: Fractal warp on heightfield terrain.
Post by: Ashley on September 22, 2015, 05:30:50 PM
I wonder if this is where vector functions might come in use?

I just tried and didn't get any result from the warp shader.
Title: Re: Fractal warp on heightfield terrain.
Post by: paq on September 22, 2015, 05:41:05 PM
Thanks Ashley for the confirmation.
Title: Re: Fractal warp on heightfield terrain.
Post by: Matt on September 22, 2015, 06:12:57 PM
Warp functions don't work on the heightfield shader, but this shader has built-in settings called "Add fractal detail" which works almost identically to the fractal warp shader. The main difference is that its scale parameter is a multiple of the heightfield's pixel spacing, not an absolute scale in metres.

Matt
Title: Re: Fractal warp on heightfield terrain.
Post by: paq on September 23, 2015, 10:27:01 AM
Hi Matt,

Thanks for the workaround, I never thought to use the fractal detail for large scale warping, but indeed it makes the job too !