render_stencil

StencilMap

Stencil buffer target for a view. If a bitmap is assigned to this pointer, the content of the stencil buffer is copied into this bitmap after rendering, instead of drawn over the screen. This way postprocessing effects can be applied to the stencil buffer, such as blurring stencil shadows. The stencil target texture is available to shaders through the texture variable StencilMap.

Type:

BMAP* (lite-c)
texture (shader code)

Remarks:

Edition:

 A7.07  LC 

Example:

See render_target

See also:

VIEW, BMAP, view.bmap, view.stage, view.material, render_target, render_zbuffer, PROCESS_SCREEN

► latest version online