This release mainly adds support for automatic loading of model's materials from BBMAT files and a few other quality of life improvements. Please make sure to read the changelog thoroughly, as this release also removes obsolete API!
BBMOD_ResourceManager, which allows method
loadto automatically load model's materials when BBMAT files with the material names are found in the same directory. By default this is enabled.
bbmod_mrt_is_supported, which checks whether multiple render targets are supported on the current platform.
bbmod_blendmode_to_string, which retrieves a name of a basic blend mode.
bbmod_blendmode_from_string, which retrieves a basic blend mode from its name.
bbmod_cullmode_to_string, which retrieves a name of a cull mode.
bbmod_cullmode_from_string, which retrieves a cull mode from its name.
bbmod_cmpfunc_to_string, which retrieves a name of a cmpfunc.
bbmod_cmpfunc_from_string, which retrieves a cmpfunc from its name.
BBMOD_Materialnow supports strings for properties
ZFunc. E.g. "bm_add", "cull_clockwise" and "cmp_less" respectively, instead of their numeric values.
BBMOD_Materialnot using the
truealso for paths that don't begin with "/" or a drive (e.g. "C:\") instead of just paths that begin with "." or "..".
bbmod_light_ambient_get_dir, using which you can set and retrieve the direction to the ambient light's upper hemisphere. By default this is
0, 0, 1).
BBMOD_BaseShader.set_ambient_light, which is the direction to the ambient light's upper hemisphere. If not defined, then it defaults to the value set by the new
BBMOD_Matrixas an argument.
BBMOD_MeshBuildernow also assigns
BboxMaxproperties of the created mesh.
BBMOD_AnimationPlayer, which enables/disables transitions between animations. By default this is enabled!
BBMOD_RenderQueue, which checks whether the render queue has commands for given render pass.
BBMOD_RenderQueuenow exits early if it does not have any commands for the current render pass.
BBMOD_Cubemap, which returned a projection matrix that did not use negative FOV and aspect ratio.
bbmod_camera_set_positionto update the camera position (for correct specular reflections etc.). It is reset back to the original value when
BBMOD_Cubemap, which draws a cubemap cross at given position.
Alpharender pass instead of
BBMOD_MATERIAL_DEFAULT_UNLITnot being registered.
BBMOD_BaseRenderer.ShadowmapArea, which was obsolete. Please use its counterpart
BBMOD_DirectionalLight.ShadowmapAreabefore updating to this release.
BBMOD_BaseRenderer.ShadowmapResolution, which was obsolete. Please use its counterpart
BBMOD_Light.ShadowmapResolutionbefore updating to this release.
BBMOD_BaseRenderer.UseAppSurface, which was obsolete. Please use its counterpart
BBMOD_BaseRenderer.PostProcessorbefore updating to this release.
BBMOD_Shader.Raw, which was obsolete. Please use
BBMOD_Shader.get_variantbefore updating to this release.
BBMOD_Shader.VertexFormat, which was obsolete. Please use
BBMOD_Shader.has_variantbefore updating to this release.
BBMOD_Shader.get_name, which was obsolete. Please use
shader_get_name(shader.get_variant(vertexFormat))before updating to this version.
BBMOD_Shader.get_uniform, which was obsolete.
BBMOD_Shader.get_sampler_index, which was obsolete.
BBMOD_BaseShader.MaxPointLights, which was obsolete. Please use its counterpart
BBMOD_BaseShader.MaxPunctualLightsbefore updating to this version.
BBMOD_DLL.Path, which was obsolete. Please use
BBMOD_DLL_PATHbefore updating to this version.
Copyright © 2023, BlueBurn. Built on May 02, 2023 using GMDoc.