Advertisement

Latest sampler Activity

How to sample a R8_UINT texture in hlsl?

pixelhistory said:
@Juliean thank you Juliean, using Load resolved this problem!

Glad to hear. I think I also noticed why it wasn't working: If you want to Sample a UINT-texture, you need to declare it as UNORM, not UINT, like DXGI_FORMAT_R8G8B8A8_UNORM. This will not change the internal format - you…

1,441 views
Advertisement
Advertisement
Advertisement