BBMOD_DefaultShader.set_metallic_ao OBSOLETE

A function defined in BBMOD_DefaultShader.gml

set_metallic_ao(_texture)

Description

Sets uniforms BBMOD_U_MATERIAL and BBMOD_U_IS_METALLIC.

Arguments

Name Type Description
_texture Pointer.Texture The new texture with metalness in the R channel and ambient occlusion in the G channel.

Returns

Struct.BBMOD_DefaultShader Returns self.

Obsolete

Please use bbmod_shader_set_metallic_ao instead.

Do you find this page helpful?

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