Texture map filtering

Discussion related to the LuxCore functionality, implementations and API.
Post Reply
User avatar
Dade
Developer
Posts: 5522
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Texture map filtering

Post by Dade » 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:

near.jpg

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
Support LuxCoreRender project with salts and bounties

Post Reply