How to map UV coordinates of a texture to the “inner” UV coordinates of a sub rectangle?

后端 未结 0 842
遇见更好的自我
遇见更好的自我 2020-12-23 09:25

In a fragment shader I get the UV coordinates of the current pixel in the range of [0.0,1.0]. However, I don\'t render the whole texture (thus in UV from 0.0 to 1.0), but on

相关标签:
回答
  • 消灭零回复
提交回复
热议问题