2D Physically Based Rendering Engine
  • Libraries
  • Nov 9, 2018
  • Artus


UB2D is a physically Based Rendering Engine for 2D scenes. This project is a child of our unpublished 3D Engine for Pure Basic. Because we are only two people, we decided to work on a 2D engine and drop the 3D one, because it is easier and faster to make assets for it and for programming.

In the following sections you can see the features of the current verion in a small demo. The Engine is made completely in PureBasic 5.61 and OpenGL 3.3.


  • PBR Materials & Lightning
  • EnviromentMap Lightning
  • Volumetric Light (Light shafts)
  • Lighted Smoke Shader
  • SSAO
  • Glow, Bloom & Lens Flare Shader
  • GUI
  • GUI Blur Shader
  • SpriteSystem
  • Armature (Skeletal Animation)
  • Point and Spotlight
  • CameraSystem
  • FontSystem
  • Drawing
  • Gamepad Support
  • Demo video on YouTube




Real light sources brighten the scene including the textures and particles
Here you can see the volumetric light