BBMOD_Cubemap.to_octahedron

A function defined in BBMOD_Cubemap.gml

to_octahedron([_clearColor[, _clearAlpha]])

Description

Converts the cubmap into an octahedral map.

Arguments

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.

Note

You must use BBMOD_Cubemap.to_single_surface first for this method to work!

See also

BBMOD_Cubemap.SurfaceOctahedron

Do you find this page helpful?

Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.