Skip to content

3.16.6

Compare
Choose a tag to compare
@kraifpatrik kraifpatrik released this 02 Feb 23:00

This release fixes SSAO when using orthographic projection and adds more options to control SSAO quality with.

Changelog:

  • Added new property SSAOSelfOcclusionBias to BBMOD_DefaultRenderer, which defaults to 0.01. Increase to fix self-occlusion.
  • Added new property SSAOBlurDepthRange to BBMOD_DefaultRenderer, which is the maximum depth difference over which can be SSAO samples blurred. Defaults to 2.
  • Added new optional arguments _selfOcclusionBias and _blurDepthRange to function bbmod_ssao_draw, using which you can configure self-occlusion bias and blur depth range respectively.
  • Fixed SSAO when using orthographic projection.