SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
Image Based Lighting

The following scene shows 7 x 7 spheres with different metallic (vertical) and roughness (horizontal) material parameters. These parameters can be passed either by float values or as textures per pixel. We implemented the standard Physically Based Rendering (PBR) material model introduced in Unreal Engine 4 in 2013. The ambient part is added by the HDRI environment map shown around the scene as a skybox. The shaders for this type of SLMaterial are generated automatically in SLGLProgramGenerated.

Unfortunately, we can not embed externally hosted WebAssembly code on github.io.
Please open example in new tab

General help:

  • Click and drag the left mouse button to rotate the scene.
  • Click and drag the middle mouse button to move sidewards/up-down.
  • Roll the mouse-wheel to move forward/backward.
  • Double click with the left mouse button to select an object.
  • Click the right mouse button to open the context menu.
  • Open and dock additional windows from the menu Infos.
  • See more example scenes over the menu File > Load Test Scene