Unsolved Nearest-neighbors textures filtration in QtQuick3D
-
Hi all!
Just look at this sample:View3D { // It doesn't works! renderMode: View3D.Offscreen smooth: false PerspectiveCamera { position: Qt.vector3d(0, 0, -600) } DirectionalLight { ambientColor: "#ffffff" brightness: 0.0 } Model { source: "#Rectangle" materials: [ DefaultMaterial { diffuseMap: Texture { source: "qrc:/images/img.png" } } ] } }
My texture is still blurry if it is a low-res image (so, 'smooth' field doesn't work at all).
So, how can I use a nearest-neighbors filtration?