3.20.1
This is a small patch release that fixes a few bugs in the library. As a little bonus, a tiny portion of the Core module was moved to a new Core/Base subfolder. If you would like to use BBMOD only for rendering of 3D animated models in your GameMaker project, without using its material system and other capabilities, this is the only folder that you need to import into your project.
Changelog:
- Renderer
BBMOD_DeferredRenderernow also supports theDepthOnlyrender pass and blends depth of forward rendered models into the G-Buffer. - Fixed normal mapping on terrain.
- Fixed spot lights affecting backsides of models.
- Fixed materials
BBMOD_MATERIAL_DEFERREDandBBMOD_TERRAIN_DEFERREDbeing registered under wrong names and hence being loaded incorrectly from BBMAT files. - Fixed crash that happens in recent releases of GameMaker in function
bbmod_texture_set_stage_vswhen running on macOS andlibBBMOD.dylibis missing. - Fixed method
RotateOtherofBBMOD_Quaternion. - Fixed method
ScaleSelfofBBMOD_DualQuaternion. - Property
MaterialsofBBMOD_Modelcan now contain alsoPointer.Textures instead ofBBMOD_Materials, but then the model can be rendered only using thesubmitmethod! - There is now a new folder
BBMOD/Core/Base, which contains the absolute minimum required to use BBMOD's animation player in your GameMaker projects. The material system is not included in this folder, meaning you will need to write your own shaders to draw the models. Do not forget to add#macro BBMOD_MATERIAL_DEFAULT -1to your project if you import only this folder!