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:
Material excluded from DOF
Usage
To apply render_composite material, follow these steps:
- Set it (or a material inherited from it) in Render settings -> Compositeshader field.
- Make sure that Main menu->Render tab -> Auxiliary bufferoption is checked.
- Go to the surface material. Set Statestab ->Passes -> Auxiliarypass and set itDefault. It means that the material is rendered into theauxiliary 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: 03.07.2017
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter