From 3558828b80c35025ceea58a142503c4c3813ae5c Mon Sep 17 00:00:00 2001 From: Dmitry Stepanov Date: Tue, 14 Oct 2025 21:04:35 +0300 Subject: [PATCH] increased precision of normal map in gbuffer - fixes annoying banding issues all over the place in the renderer at the cost of increased memory usage and memory bandwidth requirements --- fyrox-impl/src/renderer/gbuffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fyrox-impl/src/renderer/gbuffer.rs b/fyrox-impl/src/renderer/gbuffer.rs index c2ebc5484..55c34385d 100644 --- a/fyrox-impl/src/renderer/gbuffer.rs +++ b/fyrox-impl/src/renderer/gbuffer.rs @@ -95,7 +95,7 @@ impl GBuffer { )?; let normal_texture = server.create_2d_render_target( "GBufferNormalTexture", - PixelKind::RGBA8, + PixelKind::RGBA16F, width, height, )?;