This release mainly adds possibility to define shaders used by a material in individual render passes, which in combination with render queues enables creating advanced rendering pipelines.
BBMOD_RGBM_VALUE_MAX, which defines the maximum value which a single color channel can have before it is converted to RGBM.
BBMOD_Color, which supports HDR colors.
BBMOD_BaseShader, which does not define any uniforms specific to BBMOD and it is now the base class for shader resource wrappers.
BBMOD_Shadernow inherits from
BBMOD_RENDER_SHADOWS. Use appropriate members of
BBMOD_ERenderPassinstead, as these macros will be removed in a future release.
BBMOD_Material, using which you can define shaders used by the material in specific render passes.
falsebased on whether the material was applied (instead of always returning
BBMOD_Material.submit_queuedoes no longer automatically clear the queue.
BBMOD_Material.clear_queue, which clears the material's render queue.
BBMOD_Materials no longer use the checkerboard texture as the default. The texture is still used by
bbmod_get_materialsnow accepts an optional render pass argument, using which you can retrieve only materials that have a shader for a specific render pass.
BBMOD_IRenderTarget, which is an interface for structs that can be set as a render target.
BBMOD_Vec4using which you can change the vector components in-place.
global.bbmod_camera_positionfrom the PBR module to the Core module to resolve dependency issues.
bbmod_get_calling_function_name, using which you can retrieve the name of the function that calls it.
bbmod_class_get_name, using which you can retrieve class names of structs inheriting from
BBMOD_CLASS_GENERATED_BODY, which now must always be the first line in structs inheriting from
BBMOD_Class.is_instance, using which you can test if an instance of
BBMOD_Classinherits from a specific class.
BBMOD_Cubemap, using which you can easily render scenes into a cubemap.
_shaderin the constructor of
BBMOD_PBRMaterialis now optional.
BBMOD_Coloras an argument. The variant with 3 arguments (one for each color channel) is kept for backwards compatibility, but it should not be used anymore, as it will be removed in a future release!
Copyright © 2023, BlueBurn. Built on May 02, 2023 using GMDoc.