PostFX Gradient Weight Modifier Component

The PostFX Gradient Weight Modifier component modifies the blending weight of post-processing effects (PostFX) by using another entity’s gradient signal as a masking operation.

Provider

Atom Gem

Dependencies

PostFX Layer component

Gradient Sampler properties

PostFX Gradient Weight Modifier base properties

PropertyDescriptionValuesDefault
Gradient Entity IdA reference to a separate entity that provides a gradient.Entity referenceEmpty
OpacityControls the opacity of the provided gradient.0.0 to 1.00.0
To do:

A GitHub issue has been created for this task here.

Usage

In this example, there are two entities: ShaderBall and GradientSignalProvider. The ShaderBall entity’s PostFX Gradient Weight Modifier component references the GradientSignalProvider entity in its Gradient Entity Id property. The weight of the PostFX depends on the gradient that GradientSignalProvider inputs.

For more information on gradient signal providers, refer to the list of Gradient components and Gradient Signal Gem .

Using PostFX Gradient Weight Modifier example

Using PostFX Gradient Weight Modifier example


Copyright © 2022 Open 3D Engine Contributors

Documentation Distributed under CC BY 4.0.
For our trademark, privacy and antitrust policies, code of conduct, and terms of use, please click the applicable link below or see https://www.lfprojects.org.


The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Policy page.