Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Texture2D.Sample issue

$
0
0

@11110 wrote:

I got a issue on draw texture on model. When i use Tex2D function it give me the correct output, but when i use Texture2D.Sample it go wrong. seem like the texture coordinate when offset about few pixel.

Note* both of the using the same UV coordinate input.

tex2D(diffuseMapSampler, input.UV); <--- correct

Diffuse_Map.Sample(diffuseMapSampler, input.UV); <--- Wrong

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles