SameOldBard Posted April 10, 2024 Posted April 10, 2024 Hi, I want to apply a shader effect to a rock. What is the proper way of doing it? I want to have it playing something of a desintegration shader and although I could use the one I did by calling AddSpell on an Actor, but I am not sure how to have the same working on a non Actor. What am I missing? Thanks, OldBard
LarannKiar Posted April 11, 2024 Posted April 11, 2024 If the shader is an EffectShader form, you can use Play() and Stop(). theEffectShader.Play(theTargetReference, -1.0) theEffectShader.Stop(theTargetReference)
SameOldBard Posted April 11, 2024 Author Posted April 11, 2024 On 4/11/2024 at 4:04 PM, LarannKiar said: If the shader is an EffectShader form, you can use Play() and Stop(). theEffectShader.Play(theTargetReference, -1.0) theEffectShader.Stop(theTargetReference) Expand Hmm, I tried that, but nothing happened. Maybe because it is a rock? It does not fade when disable, for example.
Recommended Posts