A function defined in BBMOD_DefaultMaterial.gml
set_metallic_ao(_metallic, _ao)
Changes the metalness and ambient occlusion to a uniform value for the entire material.
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. |
Struct.BBMOD_DefaultMaterial
Returns self
.
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.