Planetside Software Forums

General => Terragen Discussion => Topic started by: ricky31284 on July 22, 2010, 05:11:31 PM

Title: new shaders using loop-based nodes?????
Post by: ricky31284 on July 22, 2010, 05:11:31 PM
i would like to make some new shaders like sparse convolution and was wondering if it is possible to make a c++ style loop based in nodes (basicly i would need to say 0=some number while etc etc.. let number =number +1) this would allawe me to make all kinds of neat shaders. please help
Title: Re: new shaders using loop-based nodes?????
Post by: Hetzen on July 22, 2010, 05:18:37 PM
Have a play with the 'modulo' function. It's pretty awesome. And no, I won't give away those secrets. ;D
Title: Re: new shaders using loop-based nodes?????
Post by: cyphyr on July 23, 2010, 05:00:33 AM
You might find this  (http://forums.planetside.co.uk/index.php?topic=7512.0)thread useful :)
Richard
Title: Re: new shaders using loop-based nodes?????
Post by: ricky31284 on July 23, 2010, 11:10:08 PM
thanks i havent tried it yet but im sure ill be able to figure it our.