BBMOD_SHADER_DEPTH_BATCHED

macro

Description

Struct.BBMOD_BaseShader Depth shader for dynamically batched models.

Example

Following code enables casting shadows for a custom material (requires a BBMOD_Renderer with enabled shadows).

material = BBMOD_MATERIAL_DEFAULT_BATCHED.clone()
    .set_shader(BBMOD_ERenderPass.Shadows, BBMOD_SHADER_DEPTH_BATCHED);

See also

BBMOD_BaseShader, BBMOD_DynamicBatch, BBMOD_ERenderPass.Shadows, BBMOD_SHADER_DEPTH, BBMOD_SHADER_DEPTH_ANIMATED

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on September 19, 2022 using GMDoc.