Snapshots don't respect setting: display.setDefault( "magTextureFilter", "nearest" )

Title says it all. I zoom up a snapshot image and it is always pixelated, no linear interpolation occurs.

An aside - I’ve noticed how for imagesheets, there are almost always border problems with linear interpolation.

I am sure OGL has a clamp setting that allows for avoiding this issue - is there no chance of having it being enabled? It of course depends on how you set up image sheet frames - are they treated as an individual texture internally (in which case they can be clamped) or do you simply create a rectangle and alter the UV coordinates of it to match the position of the frame within the image sheet (in which case no can do on the clamping front).

Barry

Good catch! We’ve logged the issue.

This is a known fact of life about opengl, as their wrap modes only operate at the edges of the entire texture (not individual frames inside the texture). When you pack multiple images on a single texture atlas, you have to extrude the border to avoid linear interpolation. 

Good catch! We’ve logged the issue.

This is a known fact of life about opengl, as their wrap modes only operate at the edges of the entire texture (not individual frames inside the texture). When you pack multiple images on a single texture atlas, you have to extrude the border to avoid linear interpolation.