No he’s not, I tried with a new test Material and it works with User Interface Domain but the thing is at first my material has a Surface Domain.
Is there is any way to modifcate with a node the Material Domain ?
Why does it has a surface domain? Do you need it as a surface domain because you using this material somewhere else as surface? If so just duplicate the material and use each one as needed.
I’m creating a fighting card game. When I play a card and end my turn, an HUD appears and show me every attack I’ve played this turn.
So I’d like to get the card image reference (material surface because it’s an actor in the scene) and set it in my HUD in my “Attack Slot” so the player can see the incoming mooves.
You solved my Set Brush problem (thank you for that!) but I’m still blocked because I can’t find a way to avoid the creation of hundred of Material (Surface) + his Material (User Interface).
Does it exist a node that change the Material Domain ?
no but you can create a dynamic material instance for the widget, then read the material that you use in the scene somehow and transfer the texture . its hard to help from outside but you definitely need two different materials for this. cant change domain at runtime.