hi evryone ,
assume i have a quad(for each vertex : vec4:Position; vec2:TextureCoord; vec3:ExtraData) and i send this to vertex shader and vertex shader without any transformation send them to pixel shader.
I want to remove ExtraData from quad and send ExtraData as a cbuffer to pixel shader, Now how can i calculate the interpolated ExtraData with normalized TextureCoord in pixel shader that it becomes quite similar to vertex shader interpolation???
thanks.