View Single Post
Old 16th October 2018, 16:19   #4
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 872
Sorry fumbling, I had not noted your response when scrolling over the long code section.
sqr(x) is the square of x: sqr(8) -> 64

sqr(sqr(x)) can be expressed simpler as pow (x,4)

You already mentioned the decay, values of 30000+something are nonsense, the defined argument range is 0..1.
Decay = 0.9 does approximately the same as ret = GetPixel(uv)*0.9 in the warp shader. It comes from a time when milkdrop did not yet support shaders.
Nitorami is offline   Reply With Quote