macro
Struct.BBMOD_BaseShader
Depth shader for animated models with bones.
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);
BBMOD_BaseShader, BBMOD_ERenderPass.Shadows, BBMOD_SHADER_DEPTH, BBMOD_SHADER_DEPTH_BATCHED
Copyright © 2022, BlueBurn. Built on May 16, 2022 using GMDoc.