[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Re: 2D Shockwave Post Processing Filter (GLSL)



Hi all.
Seems to be working fine now!
My two mistakes were:
1) in shader the "time" variable must get game time(loop time), and i
was sending the constant value which is wrong.
2) in shader the "center" variable must get the texture coordinate
[0,1], and i was sending the pixels sizes.
Working dirty code can be found here, if this will be interested for
someone.
http://bpaste.net/show/13519/

Cheers, Alex