material
Assigns a material to the view that can contain a shader for pre- or
postprocessing effects.
Type:
MATERIAL*
Remarks:
-
If the view material contains an effect - even an empty one - it overrides all other material parameters or effects of all objects in the scene,
except for materials with the OVERRIDE flag.
-
If the view is a stage of a previous view,
the previous render target is available to the shader through
the TargetMap texture
parameter, and the previous stencil buffer bitmap is available through the StencilMap texture parameter.
- If a material is assigned to a view, its
ENABLE_VIEW
event
is triggered immediately before rendering the view. The view is not
rendered when the event returns 1.
Edition:
A7.07C
LC
Example:
See stageSee also:
VIEW, MATERIAL,
shader, stage, PROCESS_SCREEN/PROCESS_TARGET
► latest
version online