Material for GUI textures? (SOLVED)

Is it possible to set a material for GUI nodes textures like it can be done with sprites?
I would like to have a pixel perfect material for a scaled-up GUI element.


Above, you can see that a suited element on the right is displayed well, but a small icon (30x30 px) scaled up 3 times (on the left) is a little bit blurred. What can I do to make it have sharp edges? :wink:

Material sets for all texture nodes in GUI file properties

3 Likes

So there is no possibility to define different materials for each texture in one GUI?

I donโ€™t know how to do this (no way in GUI api and nodes properties). Let me know if there is :slight_smile:
But it possible to use several gui scenes with different materials (and use same sorting layers in both to set draw order)

EDIT Oops! Layer is working only inside one gui file. Also if one gui use other as template - child gui inherits parent material (even if set different material in child)

Correct. All nodes within a gui uses the same material.

Ok, I understand, anyway, thanks for the help, guys! :smiley: I think itโ€™s also worth mentioning to remember to change the tags in material for gui :smiley:

1 Like