set_normal_roughness

function

set_normal_roughness(_normal, _roughness)

Description

Changes the normal vector and roughness to a uniform value for the entire material.

Arguments

Name Type Description
_normal Struct.BBMOD_Vec3 The new normal vector. If you are not sure what this value should be, use BBMOD_VEC3_UP.
_roughness Real The new roughness. Use values in range 0..1.

Returns

Struct.BBMOD_PBRMaterial Returns self.

Do you find this page helpful?

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