Hey!
I am struggling with what I hope to be a rather simple thing.
I want to mask of a the Text of a Text Renderer from top to bottom, but so far all my Masking approaches lead to either on or off.
Any ideas how to properly approach this?
Best regards!
If you are using it within the World, you can use an object based masking approach.
As text is build in a non-linear fashion you can’t just use the TexCoord node as you normally would.
You can see this here if you look at the font material:
A gradient using the TexCoord would never work porperly.
I have a snippet you can copy+paste for object based masking here:
I simply put it into the default DefaultTextMaterialOpaque like so:
The result looks something like this:
1 Like