BBMOD_DefaultShader.set_metallic_ao

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.

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on May 02, 2023 using GMDoc.