Difference between revisions of "Talk:EffectShader"

1,383 bytes added ,  16:20, 11 April 2015
imported>Egocarib
imported>DavidJCobb
Line 24: Line 24:


Anyone know what exactly controls the "finish" effect of an EffectShader? For instance, any of the core alteration spells (Stoneflesh, Oakflesh, etcetera) all will play a brief particle shader when the spell is cast, then they have only a membrane shader playing while the effect is active, but then when the effect finishes, another particle shader effect (similar to, but not exactly the same as) the original particle shader casting effect appears. What options in the Particle Shader settings (or elsewhere) control this behavior? -- [[User:Egocarib|Egocarib]] ([[User talk:Egocarib|talk]]) 2013-09-14T11:41:23 (EDT)
Anyone know what exactly controls the "finish" effect of an EffectShader? For instance, any of the core alteration spells (Stoneflesh, Oakflesh, etcetera) all will play a brief particle shader when the spell is cast, then they have only a membrane shader playing while the effect is active, but then when the effect finishes, another particle shader effect (similar to, but not exactly the same as) the original particle shader casting effect appears. What options in the Particle Shader settings (or elsewhere) control this behavior? -- [[User:Egocarib|Egocarib]] ([[User talk:Egocarib|talk]]) 2013-09-14T11:41:23 (EDT)
== Notes on membrane shaders' alpha time values ==
The documentation on this page is very, very, very lacking. I'd edit it, but it's very difficult to test things for sure.
My tests indicate the following behavior:
* Upon being applied, the shader's alpha will fade in from zero to ''Full Alpha Ratio'' over ''Alpha Fade In Time'' seconds.
* The shader will then remain at ''Full Alpha Ratio'' for ''Full Alpha Time'' seconds.
* The shader will then fade back down to ''Persistent Alpha Ratio'' over ''???'' seconds (presumably the Alpha Fade Out Time is used for this as well).
* Upon being removed, the shader's alpha will fade out from its current alpha to zero over ''Alpha Fade Out Time'' seconds.
* The shader's alpha will also pulse by ''Alpha Pulse Amplitude'' at ''Alpha Pulse Frequency''; this stacks with the previously mentioned behavior.
In other words,
* The alpha ''pulses'' over the entire time that the shader is active; these modifications stack with fades.
* ''Alpha Fade In Time'' and ''Alpha Fade Out Time'' determine how quickly the shader starts up and shuts down.
* The shader will only ever be at ''Full Alpha Ratio'' once.
* Use the fade times to control how quickly the shader applies and leaves. Use the pulse settings to animate the shader while it's there.
[[User:DavidJCobb|DavidJCobb]] ([[User talk:DavidJCobb|talk]]) 2015-04-11T17:20:35 (EDT)
Anonymous user