render_composite
A render_composite material allows you to apply the following full-screen postprocesses selectively (on per-material basis) rather then to the whole screen using the Auxiliary buffer:
This article is deprecated and will be updated in further UNIGINE updates.
Material excluded from DOF
Usage#
To apply render_composite material, follow these steps:
- Set it (or a material inherited from it) in Render settings -> Composite shader field.
- Make sure that Main menu ->Render tab -> Auxiliary buffer option is checked.
- Go to the surface material. Set States tab ->Passes -> Auxiliary pass and set itDefault. It means that the material is rendered into the auxiliary color buffer.
It is also possible to mask materials for two postprocesses using surface material -> Parameters -> Auxiliary Color (see blur_mask and dof_mask below).
States#
Last update:
2022-07-01
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)