Diagonal stretching

Started by Hannes, January 12, 2016, 05:14:49 PM

Previous topic - Next topic

Hannes

In this thread:
http://www.planetside.co.uk/forums/index.php/topic,6633.msg70145.html#msg70145
Mogn showed a way to do exactly this.

Quote from: mogn on June 03, 2009, 01:59:40 AM
That is easy

???

Mogn (or someone else!!!!), please show me how to integrate this into let's say a cloud's density fractal to create some sort off rain. Is this possible?

I managed to do some rain by stretching the fractal vertically, but it might look better a little bit more diagonal.

WAS

Following this! Brilliant idea Hannes, I hope it's possible.

Dune

Well, Hannes, you don't need fancy methods for that. I used a simple transform shader (rotate X or Z) for that. Easy  ;)  You can even bend by altitude (redirect or vdisp I believe).

Hannes

Of course!!!! (slapping forehead)
Thanks Ulco, works like a charm!

Dune