WIP fake raytracer output

This commit is contained in:
RaveYard 2023-08-31 20:06:13 +02:00 committed by Magnus Norddahl
commit ef031c2073
4 changed files with 32 additions and 4 deletions

View file

@ -33,9 +33,12 @@ void VkLightmap::Raytrace(hwrenderer::LevelMesh* level)
UpdateAccelStructDescriptors(); // To do: we only need to do this if the accel struct changes.
CreateAtlasImages();
BeginCommands();
UploadUniforms();
for (size_t pageIndex = 0; pageIndex < atlasImages.size(); pageIndex++)
{
RenderAtlasImage(pageIndex);