I’m in the process of moving from dx9 to 11 and in my old shaders i was
able to use tex2dproj to project a texture to a mesh. Does anyone know
how this is now done in shader model 5? thanks for any hints in the
right direction to go.
Please log in or register to post a reply.
I don’t believe there is a specific function for projective texture
lookup now. Instead, you must do the divide by w yourself and then do a
float2 uv = uvw.xy / uvw.w;
That worked a treat! now I understand, I really appreciate the help with
this, thank you!