This release mainly adds support for image-based lights to the default shaders and support for ambient, directional light and shadows, point lights and fog to PBR shaders.
set_ibl
from BBMOD_PBRShader
to BBMOD_BaseShader
.MaxPointLights
and methods set_ambient_light
, set_directional_light
, set_point_lights
and set_fog
from BBMOD_DefaultShader
to BBMOD_BaseShader
.ShadowmapBias
from BBMOD_DefaultMaterial
to BBMOD_BaseMaterial
.screen_point_to_vec3
to BBMOD_Camera
, using which you can convert a position on the screen into a world-space direction.ConvertYToZUp
to BBMOD_OBJImporter
, using which you can switch Y and Z axes of imported models.InvertWinding
to BBMOD_OBJImporter
, using which you can invert vertex winding order of imported models.TextureRepeat
to shaders when using BBMOD_Terrain.submit
.Copyright © 2023, BlueBurn. Built on September 11, 2023 using GMDoc.