BBMOD_SHADER_DEFAULT_DEPTH

A macro defined in __bbmod_default_material.gml

Description

Struct.BBMOD_BaseShader The default depth shader.

Example

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

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

See also

BBMOD_ERenderPass.Shadows

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.