Does GLTFast support point texture sampling? #292
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
hi @wonkee-kim , Yes, that should work! glTF supports texture samplers that let you choose the filters for minification and magnification. If you select Sources: https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html#_filtering Let me know if you experience issues. |
Beta Was this translation helpful? Give feedback.
hi @wonkee-kim ,
Yes, that should work!
glTF supports texture samplers that let you choose the filters for minification and magnification. If you select
9728
(=Nearest
) for both, you should have the desired effect (point filtering).Sources:
https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html#_filtering
https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html#reference-sampler
Let me know if you experience issues.