Rendering models

When you have prepared your models and their materials, you can render them using method submit. It is very important that every block of code that submits models starts and ends with the function bbmod_material_reset. Not calling this function can result into unexpected behavior!

/// @desc Draw event
matrix_set(matrix_world, matrix_build(x, y, z, 0, 0, direction, 1, 1, 1));
matrix_set(matrix_world, matrix_build_identity());
Do you find this page helpful?

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