Optimize DDGI probes state data from R16G16B16A16_Float to R8G8B8A8_SNorm

This commit is contained in:
Wojciech Figat
2022-06-20 09:49:40 +02:00
parent 41a58f3f2c
commit 5239a2b410
5 changed files with 25 additions and 11 deletions

View File

@@ -71,7 +71,7 @@ void PS_Clear(out float4 Light : SV_Target0, out float4 RT0 : SV_Target1, out fl
// GBuffer+Depth at 0-3 slots
Buffer<float4> GlobalSurfaceAtlasObjects : register(t4);
#if INDIRECT_LIGHT
Texture2D<float4> ProbesState : register(t5);
Texture2D<snorm float4> ProbesState : register(t5);
Texture2D<float4> ProbesDistance : register(t6);
Texture2D<float4> ProbesIrradiance : register(t7);
#else