Original Post
Hi, I''m looking to write a (direct3d) vertex shader that transforms texture coordinates in a similar way to the D3DTSS_TEXCOORDINDEX renderstate mode D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR
Basically I have an object to world matrix and I want to generate the environment mapping texture coords myself. This is not the same as spherical mapping.
Does anyone have any ideas?
Many Thanks
Fleejay.