Add an example program with a sample implementation of PBR rendering,
based on sample implementation in GLSL from Khronos.
Implementation is limited to the default metal/roughness workflow (the
one by default in gltf materials).
This demonstrate how PBR can be implemented into software rendering.
This PR also updates stbi libraries in common to the lattest version.
See readme in example/pbr_surface for more info.
This is currently WIP:
TODO: Add possibility to use textures for the differents PBR maps instead of static values
TODO: integrate this in sample actually using glTF files. (tinygltf/nanosg example)
Add an example program with a sample implementation of PBR rendering, based on sample implementation in GLSL from Khronos.
Implementation is limited to the default metal/roughness workflow (the one by default in gltf materials).
This demonstrate how PBR can be implemented into software rendering.
This PR also updates stbi libraries in common to the lattest version.
See readme in example/pbr_surface for more info.
This is currently WIP: TODO: Add possibility to use textures for the differents PBR maps instead of static values TODO: integrate this in sample actually using glTF files. (tinygltf/nanosg example)