Discussion related to the LuxCore functionality, implementations and API.
-
Dade
- Developer
- Posts: 5672
- Joined: Mon Dec 04, 2017 8:36 pm
- Location: Italy
Post
by Dade »
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:
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