I think an other way of doing is, when using Visual Logic, to enable or disable the shadow-material from the font :-).
When you look at the font and in particular its shadow, you can see there is a material attached to the color of the shadow. In VL it is very simple to enable or disable the layer within the material.
But beware: changing the material of the shadow is project wide! So if you are using this font in more than one place in your project, it will follow your choice throughout your complete project! But you can catch this by setting the default value on every scene were this font is used off course...
------------------------------
Rob van Rooyen
NEP GROUP INC.
Hilversum Netherlands
------------------------------
Original Message:
Sent: 10-12-2025 17:21
From: David Rock
Subject: Using visual logic to hide text shadow according to 'style' widget
Thought I had it....ended up using the tags. Font is changing but the text is not updating from the moss...just keeps saying 'Header'
------------------------------
David Rock
Cayman Compass TV
------------------------------
Original Message:
Sent: 10-12-2025 13:43
From: Gabriel Rosca
Subject: Using visual logic to hide text shadow according to 'style' widget
Every Font used in Xpression has an ID (written in Buttom-Left for every font when you are Scene Font).
Create 2 fonts as you want - one with Shadow (let's suppose it has ID 1) and the other one without Shadow (let's suppose it has ID 2).
Create a Text 1 object and write 50.
Create a Text 2 object and leave it empty.
Create a Visual Logic with:
- one String Value and write down at Value: {1}
- other String Value and write down at Value: {2}
- grab the Text from Text 1 - Scene Object
- grab the Text from Text 2 - Scene Object
- Grab "Greater Than/Eq To" from Function Blocks - Logic and write down in Base 50, and put the Text 1 output into >= sign (to compare it with value 50)
- Grab an Input Selector from Selectors and put the Out of "Greater Than/Eq To" into Index, link the first String Value to [0] and the second String Value to [1]
- Grab a Concatenate function from Strings; link the Output of Input Selector in Bse of Concatenate and Text 1 intro +; Link the output to Text 2 input.
Now the Text 2 object should have the same value as Text 1 but with Font 2
When you are changing the text of Text 1 with a lower value like 40, the Text 2 will get same value - 40 using the Font with ID 1.
------------------------------
Gabriel Rosca
Bucharest, Romania
Original Message:
Sent: 10-12-2025 12:53
From: David Rock
Subject: Using visual logic to hide text shadow according to 'style' widget
I was trying to do this but it wasnt working. I think I was writing the tags wrong. How can I find the tags for the materials? So like {Header}--{45}?
------------------------------
David Rock
Cayman Compass TV
Original Message:
Sent: 10-12-2025 05:48
From: Simon Redmile
Subject: Using visual logic to hide text shadow according to 'style' widget
You can use font tags such as {43} or the font name {myFontName} or you can just change a material {M:RED}.
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom