BBMOD_DefaultMaterial.set_normal_smoothness

A function defined in BBMOD_DefaultMaterial.gml

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 © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.