toe_head2001 Posted April 5, 2017 Share Posted April 5, 2017 I noticed the 'Clouds' effect is hard-coded to use the Primary and Secondary colors, but if it's invoked from another effect (like CodeLab), those colors default to Black and White. Here's an easy solution you can use in CodeLab: using (EffectEnvironmentParameters envirParameters = new EffectEnvironmentParameters(ColorBgra.Red, ColorBgra.Blue, 0, EnvironmentParameters.GetSelection(src.Bounds), src)) cloudsEffect.EnvironmentParameters = envirParameters; or if you have the setup in OnSetRenderInfo: using (EffectEnvironmentParameters envirParameters = new EffectEnvironmentParameters(ColorBgra.Red, ColorBgra.Blue, 0, EnvironmentParameters.GetSelection(srcArgs.Bounds), srcArgs.Surface)) cloudsEffect.EnvironmentParameters = envirParameters; Brush width is set to 0 simply because the Clouds effect doesn't use it, so it doesn't matter. 4 Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
ReMake Posted April 5, 2017 Share Posted April 5, 2017 I have just tried it. That's wonderful! Thank you, toe_head2001! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.