From d3d081ea0a9294fb588abbad20fdc730469c8768 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 3 Apr 2022 12:02:13 +0900 Subject: [PATCH] [vulkan] Switch deferred opaque attachment to f16 rgb While looking at the deferred attachment images with using a template in mind, I noticed that the opaque attachment was using 8-bit color. The problem is, it's meant to be HDRI with the compose pass crunching it down to LDRI. Switching to 16-bit float does seem to have made a subtle difference (hey, it's still quake data, not much HDRI in there). --- libs/video/renderer/vulkan/deferred.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/video/renderer/vulkan/deferred.plist b/libs/video/renderer/vulkan/deferred.plist index ad1d7df68..e70a1bc27 100644 --- a/libs/video/renderer/vulkan/deferred.plist +++ b/libs/video/renderer/vulkan/deferred.plist @@ -77,7 +77,7 @@ }; opaque = { imageType = `2d; - format = r8g8b8a8_unorm; + format = r16g16b16a16_sfloat; samples = 1; extent = { width = $output.extent.width;