BBMOD_SHADER_DEPTH_ANIMATED

macro

Description

Struct.BBMOD_BaseShader Depth shader for animated models with bones.

Example

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

material = BBMOD_MATERIAL_DEFAULT_ANIMATED.clone()
    .set_shader(BBMOD_ERenderPass.Shadows, BBMOD_MATERIAL_DEFAULT_ANIMATED);

See also

BBMOD_BaseShader, BBMOD_ERenderPass.Shadows, BBMOD_SHADER_DEPTH, BBMOD_SHADER_DEPTH_BATCHED

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.