A function defined in BBMOD_Cubemap.gml
to_octahedron([_clearColor[, _clearAlpha]])
Converts the cubmap into an octahedral map.
Name | Type | Description |
---|---|---|
_clearColor | Real |
The color to clear the target surface with before the cubemap is rendered into it. Defaults to c_black . |
_clearAlpha | Real |
The alpha to clear the targe surface with before the cubemap is rendered into it. Defaults to 1. |
You must use BBMOD_Cubemap.to_single_surface first for this method to work!
BBMOD_Cubemap.SurfaceOctahedron
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.