From 2185f80dabf275c775b180400040d852f3509d2e Mon Sep 17 00:00:00 2001 From: Anders Pistol Date: Fri, 24 May 2024 07:53:34 +0200 Subject: [PATCH] Traktor: Using smaller texture format of spectrum textures in OceanComponent. --- code/Terrain/OceanComponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Terrain/OceanComponent.cpp b/code/Terrain/OceanComponent.cpp index 8a350b9c93..3915ea304c 100644 --- a/code/Terrain/OceanComponent.cpp +++ b/code/Terrain/OceanComponent.cpp @@ -80,7 +80,7 @@ bool OceanComponent::create(resource::IResourceManager* resourceManager, render: stcd.width = c_spectrumSize; stcd.height = c_spectrumSize; stcd.mipCount = 1; - stcd.format = render::TfR32G32B32A32F; + stcd.format = render::TfR16G16B16A16F; stcd.shaderStorage = true; m_spectrumTexture = renderSystem->createSimpleTexture(stcd, T_FILE_LINE_W); m_evolvedSpectrumTextures[0] = renderSystem->createSimpleTexture(stcd, T_FILE_LINE_W);