Jump to content

[SOLVED] Suggestion: Point filtering option in the editor


photo

Recommended Posts

Posted

Hello. :)

I have a slightly unusual suggestion: an option for point filtering of textures, in the editor. It would be very useful for game developers who are aiming to make retro style games.

Problem

In the Unigine Editor, I couldn't find such an option anywhere. For example, in the settings, I was only able to choose between bilinear and trilinear filtering:

Editor_x64_2021-09-03_14-24-23.png.65df50e6ba622cac7d3eea33244804f9.png

I managed to work around this issue by setting FILTER_POINT for all textures in C#. The end result looked like this:

dotnet_2021-09-03_12-52-23.thumb.jpg.b7b389b8b858b7d92bee200f9db2a2e3.jpg

The textures are pixelated, and that is the desired result. However, it did not affect landscape textures, which still used default filtering. Additionally, this workaround only had an effect in-game, but not in-editor. I am not sure how to work around that.

Idea

I propose a "Point" option alongside "Bilinear" and "Trilinear" in the settings, believing it's simple enough to implement. Alternatively, this could be a per-texture parameter, which would allow for bilinear filtering for some textures (e.g. GUI art assets), and point filtering on other textures.

Thanks.

  • Like 1
Posted

Admer456

Hello and welcome! :)

Your request is totally understandable (we have couple of similar requests before as well). Right now we are working on material graph that would allow you to do such a tricks directly per material. Texture filtering option we might also redesign in the future and include point filtering here.

Here's an example of such custom material that you can create in 2.15 release:

Thanks!

  • Like 2

How to submit a good bug report
---
FTP server for test scenes and user uploads:

  • silent changed the title to [SOLVED] Suggestion: Point filtering option in the editor
×
×
  • Create New...