bbmod_shader_set_material_index

A function defined in __bbmod_shader_set.gml

bbmod_shader_set_material_index(_shader, _index)

Description

Sets the BBMOD_U_MATERIAL_INDEX uniform.

Arguments

Name Type Description
_shader Asset.GMShader The shader to set the uniform for.
_index Real The index of the current material.
Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on July 03, 2024 using GMDoc.