A function defined in BBMOD_DefaultMaterial.gml
set_normal_smoothness(_normal, _smoothness)
Changes the normal vector and smoothness to a uniform value for the entire material.
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. |
Struct.BBMOD_DefaultMaterial
Returns self
.
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.