Previous topicNext topic

start of shader

Questions, comments, feedback, etc.
Post Reply
bylefjild
Posts: 18
Joined: Wed Oct 23, 2024 7:37 am

start of shader

Post by bylefjild »

How do I pospone the start of a shader? As soon as I add the module to the scene the shader effect starts also. I want it to start a certain amount of time later. How to achieve this? TIA!
Sadler
Posts: 1348
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: start of shader

Post by Sadler »

Bypass it until you need it. If you can't see the bypass parameter, show it via the context menu. You should be able to work out the rest.
bylefjild
Posts: 18
Joined: Wed Oct 23, 2024 7:37 am

Re: start of shader

Post by bylefjild »

I think I found the answer. I activated the power option on the module and then used the treshold modifier to set the value at which the input value of the parameter triggers the power. So e.g. I set the treshold to 0.3 and the input in my case was a steady stream of increasing midi volume (cc7) data, which start at 0 and end at 1. So when the voume data reached 0.3 the power of the shader was triggered and started the animation. Maybe a bit elaborate in my explanation, but maybe it helps also newbies like me ;) . And of course I'm always open to more efficiënt solutions!

Edit: I did reply before I read the answer of Sadler.
TKS
Posts: 165
Joined: Mon May 17, 2021 10:40 am

Re: start of shader

Post by TKS »

Sadler wrote: Tue Nov 05, 2024 4:01 pm Bypass it until you need it. If you can't see the bypass parameter, show it via the context menu. You should be able to work out the rest.
Now you have confused me: Where is this parameter located in which context menu?
So far I have always done this with an input selector.
Sadler
Posts: 1348
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: start of shader

Post by Sadler »

TKS wrote:Where is this parameter located in which context menu?
The Magic manual tells you. Right click on a module and select Show Param For. NB. you won't see the Bypass for shaders that don't have input nodes - in that case, you have to use Power.
BypassParamMenu.png
BypassParamMenu.png (16.16 KiB) Viewed 21761 times
TKS wrote:So far I have always done this with an input selector
Yes, there's many ways to skin a cat
Post Reply