opensim-creator
opensim-creator copied to clipboard
Add support for sampling from the depth buffer to the rendering API
Needed for shadow mapping - the renderer is writing 24-bit depth values but they aren't currently being used.
See: https://learnopengl.com/Advanced-Lighting/Shadows/Shadow-Mapping for an idea of how each buffer is used