PDA

View Full Version : Drawing UV map itself



ajith.mk
02-16-2018, 02:26 AM
How do I render UV map itself given an object? Assume an object is given to me with its uvs unwrapped. Now I want to draw its uv map in render target. I am sending uvs of vertices as output to fragment shader. Since UV map itself is in 0 to 1 range in either direction I have not used projection matrix at all.. But all I get is a blank screen.

Any pointers???