This release adds support for rendering models with baked lightmaps using secondary UV channel. Additionally fix of specular highlights intensity when using specular color textures is also included in this release.
-duv2), using which you can disable export of second UV channel (if defined). This option is
trueby default (second UV channel is disabled).
_log.txtfile created during model conversion now describes vertex format of each mesh.
BBMOD_VertexFormat's constructor can now be a struct with keys called after properties of
false, depending on whether the vertex format should or should not have the property.
BBMOD_VertexFormat, which tells whether the vertex format has a second UV channel.
bbmod_vertex_format_load, which is the minor version of a BBMOD file that the vertex format is being loaded from.
bbmod_light_ambient_set_affect_lightmaps, using which you can get/set whether the ambient light affects materials that use baked lightmaps. By default this is enabled.
BBMOD_Light, using which you can enable/disable the light for materials that use baked lightmaps. By default this is enabled.
BBMOD_DLL, using which you can check whether second UV channel is disabled.
BBMOD_DLL, using which you can enable/disable second UV channel.
BBMOD_LightmapShader, which is a wrapper for shaders used by lightmapped materials.
BBMOD_LightmapMaterial, which is a material that can be used when rendering models with two UV channels, the second one being used for lightmaps.
BBMOD_VFORMAT_LIGHTMAP, which is a vertex format of models with two UV channels, the second one being used for lightmaps.
BBMOD_SHADER_LIGHTMAP, which is a shader for rendering models with two UV channels, the second one being used for lightmaps.
BBMOD_SHADER_LIGHTMAP_DEPTH, which is a depth shader for lightmapped models with two UV channels.
BBMOD_SHADER_LIGHTMAP_INSTANCE_ID, which is a shader used when rendering instance IDs for lightmapped models.
BBMOD_MATERIAL_LIGHTMAP, which is a material for models with two UV channels, the second one being used for lightmaps.
bbmod_lightmap_set, using which you can get/set the default lightmap texture used by all lightmapped materials (unless they override it).
Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.