el_BA
Topic Author
Posts: 7
Joined: 28 May 2024, 07:15
Location: Melbourne, Australia

How to add BackgroundEffectBehavior on text?

Today, 00:39

Hi all!

We're currently trying to get some effects on TextBlocks (specifically the overlay blending mode, which isn't supported unfortunately. I've talked to our graphics programmer and we can't add overlay ourselves either). I thought that maybe I could utilise the BackgroundEffectBehavior but it doesn't support text.

I'm happy to make my own custom behaviour which replicates the OG BackgroundEffectBehaviour but also supports text, but I'm unsure how to go about it -- I can find the bounds of the text, but not of the glyphs themselves. Is this possible? Is there another way I could achieve the Overlay blending mode on TextBlocks or do I have to tell the artists that this effect is unachievable? :(

Thanks in advance guys!
El Perrin, UI Technical Artist @ Big Ant Studios

Who is online

Users browsing this forum: No registered users and 16 guests