Hello everyone, could you please advise if it's possible to connect my custom shader (I've created an outline shader with the effects I need) to buttons? If so, could you provide some guidance on how to do this? How do I make it work when I hover the mouse over the button?
Shader&Button
Asked Answered
i hope that section "Create a UI widget to control the shader" of this video will help:
you could probably give your shader a uniform/parameter for toggling the effect and use the mouse entered/exited signals via script to toggle it.
i hope that section "Create a UI widget to control the shader" of this video will help:
© 2022 - 2024 — McMap. All rights reserved.