Have shader effect stylebox on panel

moomomoomo Posts: 2Unconfirmed Member

Hello, I'm trying to write a palette swapping shader and I am trying to find a way for the shader to effect a stylebox I have on a panel. Right now, using the texture function results in just a white texture, is there any way around this? Perhaps some clever use of FRAG_COORD? I'm no shader wizard and pretty new to this kind of stuff.
Thanks!

Comments

  • TwistedTwiglegTwistedTwigleg Posts: 4,292Admin

    This discussion was caught in the moderation queue since you have not confirmed your account yet.

    Upon creating your account you should have received an account verification email. The confirmation email may have been incorrectly flagged as spam, so please also check your spam filter. Without confirming your account, future posts may also be caught in the moderation queue. You can resend a confirmation email when you log into your account if you cannot find the first verification email.

    (Note: You do not need to repost, the discussion has been moved out and is visible now)

    If you need any help, please let us know! You can find ways to contact forum staff on the Contact page. Thanks! :smile:

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file