bbmod_shader_set_metallic_ao

A function defined in __bbmod_shader_set.gml

bbmod_shader_set_metallic_ao(_shader, _texture)

Description

Sets uniforms BBMOD_U_MATERIAL and BBMOD_U_IS_METALLIC.

Arguments

Name Type Description
_shader Asset.GMShader The shader to set the uniforms for.
_texture Pointer.Texture The new texture with metalness in the R channel and ambient occlusion in the G channel.
Do you find this page helpful?

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