Planetside Software Forums

General => Terragen Discussion => Topic started by: pokoy on November 09, 2017, 01:51:57 PM

Title: Is it possible to 'slant' a noise function?
Post by: pokoy on November 09, 2017, 01:51:57 PM
I'm trying to get clouds to look slightly slanted so you can tell they travel with the wind direction. Right now I'm using a mask for the noise function which I scale in Y-direction and then rotate so it looks like it's slanted slightly but it's sometimes too obvious and needs a lot of babysitting to look OK. And of course, stretching a noise can easily look fake.

Is there a way to slant the noise without any tricks like scaling?

Here's an example of what I want to achieve:
[attachimg=1]
Title: Re: Is it possible to 'slant' a noise function?
Post by: Matt on November 09, 2017, 09:00:21 PM
Use a Twist and Shear shader as the warper for a Warp Input Shader or Warp Merge Shader.

Matt
Title: Re: Is it possible to 'slant' a noise function?
Post by: pokoy on November 10, 2017, 04:54:04 AM
Thanks Matt! I tried this actually but didn't see any effect and assumed it was only meant to work with terrains. Seems I gave up to fast ;)