2f524481c1
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1002 4e206d99-4929-0410-ac5d-dfc041789085
13 lines
196 B
Plaintext
13 lines
196 B
Plaintext
texture framebuffer
|
|
vec2 mouse
|
|
|
|
effect
|
|
{
|
|
float len = distance(_in, mouse) * 7.0;
|
|
|
|
if (len < 1.0)
|
|
_out = framebuffer(_in + (_in - mouse) * len);
|
|
else
|
|
_out = framebuffer(_in);
|
|
}
|