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 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_BaseShader Returns self.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on July 23, 2022 using GMDoc.