adds scene info for recursive rays
This commit is contained in:
parent
709c2f0569
commit
ffbba3be19
4 changed files with 12 additions and 2 deletions
shaders
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue