function
set_ibl([_ibl])
Sets a fragment shader uniform bbmod_IBLTexel
and samplers bbmod_IBL
and bbmod_BRDF
. These are required for image based lighting.
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. |
Struct.BBMOD_BaseShader
Returns self
.
Copyright © 2023, BlueBurn. Built on March 24, 2023 using GMDoc.