BBMOD_SHADER_DEFAULT_DEPTH

macro

Description

Struct.BBMOD_BaseShader Depth shader for static models.

Example

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

material = BBMOD_MATERIAL_DEFAULT.clone()
    .set_shader(BBMOD_ERenderPass.Shadows, BBMOD_SHADER_DEFAULT_DEPTH);

See also

BBMOD_BaseShader, BBMOD_ERenderPass.Shadows

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.