Texture map filtering
Posted: Wed Jul 07, 2021 9:41 am
This has been asked a couple of times, I assume to do some pixel art. I have added the support for "nearest" texture map filtering:
The image map filtering can be selected using the .filter property:
The image map filtering can be selected using the .filter property:
Code: Select all
scene.textures.140707097861640Color.type = "imagemap"
scene.textures.140707097861640Color.file = "scenes/randomizedtiling/pattern-3.jpg"
# "nearest" or "linear" (default)
scene.textures.140707097861640Color.filter = nearest