Transform World in Pixelshader


i’m using the kinect world texture with XYZ encoded as color. what i’m looking for is a texture FX or shader to transform these coordinates inside the shader.

meaning world texture in >>> transform it >>>> transformed world texture out.

am i trying to reinvent the wheel here and someone has this already done ?




Just mul(col.xyzw, tWorld); …