SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
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: