set_metallic_ao

function

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_PBRMaterial Returns self.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.