Niagara Mesh Particle Stretch Effect: How Does It Work? Help Please
Hello, while watching tuataras youtube video I noticed the interesting and seemingly simple technique you see above (Its not simple). I want to understand the technical working principle, please help with this by answering the questions I ask.(Writing about the screenshot above) The material looks simple. We subtract the Particle position from the XYZ position (XYZ = 0 in Dynamic Parameter), add a mask so that the bottom part is pulled by UV at the beginning, followed by the top part.This material does not work without the following specific Niagara system settings.Interpolate Over Time module with the Input Position: (Particles: Position)As I understand it, the Interpolate Over Time module makes a smooth transition between digital values. (Not 0 1, but 0 0.1 0.2 0.3 etc), where smoothness of transition depends on Rate Of hange item.Target Vector Value - This is the target we want to move towards (In our case dynamically updated Niagara position on the scene)Conversion Operation: Passthrough as a Non-Large World Vector - Treats values as vectors (directions), not positions. It doesnt tell where to come (position), it just shows which direction to go and how fast.View of effect when Rate of change = 0.5A new Vector 4 parameter is created. For Vector RGB, the following is selected:(Particles, Interpolate Over Time, Interpolate Over Time V3: Moving Average).For the Float (Alpha), nothing is added.The Dynamic Material Binding is changed to our new Vector 4.At the same time, the value of Float (Alpha) works as the alpha of our material (responsible for the masks intensity). If Dynamic Param Alpha in the material is disabled, then Float Alpha will not affect the emitter either.Inherit Source Movement is a module in Niagara that allows particles to inherit Niagara System Actor object on the scene. Does the same thing as Local Space (If Local Space is switched off)The Dynamic Parameter module is not essential (without it, everything works), but in practice, changing its parameters has no visual effect. Specifically, WPOIntensity (Dynamic Param Alpha) doesnt work in the Dynamic Material Parameters module. Instead of that the Float in the new Vector 4 module does what Dynamic Material Parameters WPO Intensity should do.Heres how it works. Please answer the questions:Why do we set the start position in the material as a Dynamic Parameter (split via Make Float to XYZ)? Can we use something else? For example Object Position, etc. What exactly happens when we subtract Particle Position from Dynamic Parameter (split via Make Float to XYZ)? Why does everything work with it?Why is it that if you turn off the Dynamic Material Parameters module, nothing changes, but if you turn it off in Material (as coordinates), the effect is broken? Why does Float in the new Vector 4 module does what Dynamic Material Parameters WPO Intensity should do? Why doesnt WPO Intensity itself work? Why if I change XYZ no matter where: in the Niagara module in Dynamic Param, or inside the Dynamic Param in material = nothing changes on the stage? (It changes only visually in the Niagara viewport)Why is a new vector 4 module created? Why is Moving Average inserted into it in Vector RGB? Why is a new parameter inserted in Dynamic Material Binding?Below is the result when I reverted the Vector RGB to the default values of 1 1 1, or just turned off the new V4 parameterWhy does the stretching effect not work when the Inherit Source Movement module is not active?Below is an example of what the system looks like with Lifetime/LoopDuration = 0.2I.e. in general why are these three modules used for correct operation? (Interpolate Over Time, New V4 Param, Inherit Source Movement)I deeply appreciate your time in responding and thank you in advance to anyone who deigns to help. While I was writing this, I was thinking how hard it was to do VFX 10-15 years ago, when artists had to find the answers to these questions themselves and its not clear where, because the information was probably not even in the documentation.The clear answers that ChatGPT has given (your help is still needed):Why use Dynamic Parameter?Dynamic Parameter allows the material to receive real-time data from Niagara. Here, its used to set a reference position (XYZ = 0 in Dynamic Parameter) to control how particles behave relative to it.Why subtract Particle Position from Dynamic Parameter?By subtracting the Particle Position from this reference position, youre calculating the distance between the particle and that reference.Why if I disable Dyn Par in Emitter nothing changes?Dynamic Material Parameters in Niagara:This module acts as a bridge, sending data to the material. If you disable it in Niagara, the material still remembers the last received values, so it doesnt break immediately. However, if you disable it in the Material, the material no longer knows where to get the data.