Skip to content

Commit

Permalink
Traktor: Using smaller texture format of spectrum textures in OceanCo…
Browse files Browse the repository at this point in the history
…mponent.
  • Loading branch information
apistol78 committed May 24, 2024
1 parent 1f2460f commit 2185f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Terrain/OceanComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2185f80

Please sign in to comment.