Skip to content

Pre-Release 0.6

Choose a tag to compare

@GuvaCode GuvaCode released this 24 Dec 17:37
· 50 commits to main since this release

Changes for Pascal Bindings in r3d

Removed Functions:

  • R3D_GetBufferColor()
  • R3D_DrawBufferSSAO()
  • R3D_DrawBufferBloom()
  • R3D_DrawBufferEmission()
  • R3D_HasShadowMap()
  • R3D_SetSceneBounds()
  • All frustum bounding box culling functions

Type Changes:

  • R3D_Light is now Int32 (instead of UInt32) - negative values represent invalid lights

Modified Functions:

  • R3D_SetLightRange() - now also applies to directional lights and controls visible shadow distance
  • R3D_DisableShadow() - removed the destroyMap parameter

Blend Mode Changes:

  • R3D_BLEND_OPAQUE and R3D_BLEND_ALPHA have been merged into R3D_BLEND_MIX
  • Transparency is now determined by a separate transparency mode setting

Environment System:

  • All environment getter/setter functions removed
  • New macros for state access:
    • R3D_ENVIRONMENT_GET(member)
    • R3D_ENVIRONMENT_SET(member, value)
  • Each effect (bloom, SSAO, SSIL, fog, etc.) now has its own struct

New Features:

  • SSIL (Screen Space Indirect Lighting) added
  • Overhauled transparency system (3 distinct modes)
  • Enhanced lighting and shadow system

Important Notes:

  • Emission buffer removed - emission now writes directly to diffuse/direct light buffer
  • Depth writing is now automatic (removed R3D_DepthMode enum)

For more information about the changes in the library, see here