Lachei / VulkanPBRT

Vulkan physically based raytracer including denoising
MIT License
28 stars 11 forks source link

Adding new matrices to push constants #24

Open sven-luepke opened 2 years ago

sven-luepke commented 2 years ago

I want to add the option to export view space normals and need a new worldToViewNormals matrix in the push constants (see #23). However, simply adding the matrices to the C++ and shader structs results in a black screen and the following errors: Screenshot (400) What am I missing here?

Lachei commented 2 years ago

Might be a problem of a too large push constant buffer. See https://github.com/Lachei/VulkanPBRT/pull/23#issuecomment-992259053 for a possible solution.