Fractal warp on heightfield terrain.

Started by paq, September 22, 2015, 03:09:36 PM

Previous topic - Next topic

paq

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 !
Gameloft

Hetzen

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.

Ashley

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.

paq

Gameloft

Matt

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
Just because milk is white doesn't mean that clouds are made of milk.

paq

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 !

Gameloft