MaterialX icon indicating copy to clipboard operation
MaterialX copied to clipboard

The `closest` filtertype on images isn't respected in viewers

Open expenses opened this issue 2 years ago • 2 comments

Hi, I'm running into an issue where image nodes that are set to closest/nearest-neighbour texture filtering still use bilinear filtering in MaterialXView, MaterialXGraphEditor and usdview when USD is compiled with MaterialX support.

20230909_15h41m56s_grim

I'm not sure if this is the same issue for both MaterialX and USD that can be solved by a fix to MaterialX or if they're seperate.

expenses avatar Sep 09 '23 03:09 expenses

Good catch, @expenses, and this looks like an oversight that needs to be addressed in MaterialXRender and MaterialXRenderGlsl.

jstone-lucasfilm avatar Sep 09 '23 21:09 jstone-lucasfilm

I think that the bug is also present in the OSL codegen. It doesn't seem to respect filters either?

mapetikea avatar Oct 27 '23 08:10 mapetikea