Texture Mapping Coordiantes Object - display in realtime in viewport

realtime (wrong - texture doesn’t change when I move the plane around)



randered (right - the texture changes as I move the plane around)

viewport shading: GLSL

What I am trying to archive is a pseudo-realtime-depth-map by applying a gradiant (image file) to multiple objects, to get a realtime feedback (- or to us it with the game engine). To put one texture across multiple objects I use Texture Mapping Coordiantes Object and the black plane as Object. The black plane is unwrapped.

My Problem: Works only in render not in viewport

Shading Singletexture or multitexture doesn’t help. Normally GLSL works best for me.