set_ibl

function

set_ibl([_ibl])

Description

Sets a fragment shader uniform bbmod_IBLTexel and samplers bbmod_IBL and bbmod_BRDF. These are required for image based lighting.

Arguments

Name Type Description
_ibl Struct.BBMOD_ImageBasedLight/Undefined The image based light. If undefined, then the value set by bbmod_ibl_set is used. If the light is not enabled, then it is not passed.

Returns

Struct.BBMOD_PBRShader Returns self.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.