BBMOD_DefaultMaterial.set_metallic_ao

A function defined in BBMOD_DefaultMaterial.gml

set_metallic_ao(_metallic, _ao)

Description

Changes the metalness and ambient occlusion to a uniform value for the entire material.

Arguments

Name Type Description
_metallic Real The new metalness. You can use any value in range 0..1, but in general this is usually either 0 for dielectric materials and 1 for metals.
_ao Real The new ambient occlusion value. Use values in range 0..1, where 0 means full occlusion and 1 means no occlusion.

Returns

Struct.BBMOD_DefaultMaterial Returns self.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.