adds scene info for recursive rays

This commit is contained in:
zomseffen 2025-02-04 10:51:48 +01:00
parent 709c2f0569
commit ffbba3be19
4 changed files with 12 additions and 2 deletions

View file

@ -20,6 +20,8 @@ layout(binding = 0) uniform UniformBufferObject {
// 1 - location for the max iterations per light
// 2 - diffuse raster samples (2*n + 1) * (2*n + 1) so as to always have at least the central fragment covered
// 3 - diffuse raster size (float, needs to be decoded)
// 4 - max recursive rays
// 5 - diffuse rays per hit
layout(binding = 2) buffer SceneInfoBuffer{
uint infos[];
} scene_info;