Gamma correction corrected....

This commit is contained in:
2025-08-05 22:58:21 +02:00
parent 17c3469602
commit 0736eb77b2
5 changed files with 61 additions and 9 deletions

View File

@@ -1115,7 +1115,7 @@ create_backend_render_target :: (using backend: *D3D11_Backend, width: u32, heig
texture_desc.Height = height;
texture_desc.MipLevels = 1;
texture_desc.ArraySize = 1;
texture_desc.Format = .DXGI_FORMAT_R32G32B32A32_FLOAT; // @Incomplete
texture_desc.Format = .DXGI_FORMAT_R16G16B16A16_FLOAT; // @Incomplete
texture_desc.SampleDesc.Count = 1;
texture_desc.Usage = .D3D11_USAGE_DEFAULT;
texture_desc.BindFlags = D3D11_BIND_FLAG.RENDER_TARGET | D3D11_BIND_FLAG.SHADER_RESOURCE;