Transform World in Pixelshader


#1

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 ?

cheers

35


#2

Just mul(col.xyzw, tWorld); …