Vertex texture sampling?
We have a problem that we can't seem to figure out (and are having trouble working around due to lacking or simply no documentation on the subject when it comes to the build in custom node (HLSL) or creating custom C++/USF shaders/materials)
We are trying to sample colors from a texture on only the uv position of the vertex (ala tex2Dlod inside a vertex shader), so rather than the texture sampler sample along the surface of the polygon we want it to use the sampled colors at the vertex position to fill the surface color of the polygon.
So if the vertices on example image 1 where to be sampled, rather than have the usual pixel shader texture sampling return a polygon as example image 2, we want it to return a result like example image 3.
Can anyone steer us in the right direction.
asked Nov 10 '15 at 04:29 PM in Rendering
Follow this question
Once you sign in you will be able to subscribe for any updates here