About the variables from construct : the problem is that i cannot get values relative to the origin of the world. This would be cool to create effects such as colorShift for vegetation, to alterate wind effects, motion or so... and it only adds 1 instruction per shader. Well, maybe this will be added later.
I see what you mean. Yes, that would be great (and having a timer value also).
In the meantime, given your effect isn't too instruction heavy, you can get by with the following:
Add parameters for the current position of the left/top-edge of the display relative to the world. If you prefer to store them as pixel values, that's fine. You can use an always event to update the parameters, or any other method that comes to mind.
Now the calculation part. There are the variables pixelWidth and pixelHeight.
1/pixelWidth gives you the current width of the display in pixel, 1/pixelHeight gives you the height of the display in pixel.
You now have everything you need. For example: dLeft = 320, dTop= 112, dWidth = 1024, dHeight = 768
You may also add parameters for the width and height of the world.
And if you have pixel values but need relatives, just multiply horizontals by pixelWidth and verticals by pixelHeight. But make sure, the values are relative to the display, first.