set_normal_smoothness

function

set_normal_smoothness(_normal, _smoothness)

Description

Changes the normal vector and smoothness 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.
_smoothness Real The new smoothness. Use values in range 0..1.

Returns

Struct.BBMOD_DefaultMaterial Returns self.

Do you find this page helpful?

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