From c329b424c378873edb84327eca2ed45601c24e8a Mon Sep 17 00:00:00 2001 From: Johann Muszynski Date: Fri, 5 Jul 2024 15:28:06 +0300 Subject: [PATCH] wip use RG32Float as velocity texture format --- src/pt/deferred_renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pt/deferred_renderer.cpp b/src/pt/deferred_renderer.cpp index f782858..4c6b990 100644 --- a/src/pt/deferred_renderer.cpp +++ b/src/pt/deferred_renderer.cpp @@ -22,7 +22,7 @@ namespace const WGPUTextureFormat DEPTH_TEXTURE_FORMAT = WGPUTextureFormat_Depth32Float; const WGPUTextureFormat ALBEDO_TEXTURE_FORMAT = WGPUTextureFormat_BGRA8Unorm; const WGPUTextureFormat NORMAL_TEXTURE_FORMAT = WGPUTextureFormat_RGBA16Float; -const WGPUTextureFormat VELOCITY_TEXTURE_FORMAT = WGPUTextureFormat_RG16Float; +const WGPUTextureFormat VELOCITY_TEXTURE_FORMAT = WGPUTextureFormat_RG32Float; struct TimestampsLayout {