diff --git a/fyrox-impl/src/renderer/bloom/mod.rs b/fyrox-impl/src/renderer/bloom/mod.rs index e2495787a..4bc098d63 100644 --- a/fyrox-impl/src/renderer/bloom/mod.rs +++ b/fyrox-impl/src/renderer/bloom/mod.rs @@ -55,12 +55,12 @@ impl BloomRenderer { height: usize, ) -> Result { Ok(Self { - blur: GaussianBlur::new(server, width, height, PixelKind::RGBA16F)?, + blur: GaussianBlur::new(server, width, height, PixelKind::RGB10A2)?, framebuffer: server.create_frame_buffer( None, vec![Attachment::color(server.create_2d_render_target( "Bloom", - PixelKind::RGBA16F, + PixelKind::RGB10A2, width, height, )?)], diff --git a/fyrox-impl/src/renderer/gbuffer.rs b/fyrox-impl/src/renderer/gbuffer.rs index 476d57266..f2e8bd8d5 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::RGBA16F, + PixelKind::RGB10A2, width, height, )?; @@ -111,7 +111,7 @@ impl GBuffer { Attachment::color(normal_texture.clone()), Attachment::color(server.create_2d_render_target( "GBufferAmbientTexture", - PixelKind::RGBA16F, + PixelKind::RGB10A2, width, height, )?), diff --git a/fyrox-impl/src/renderer/mod.rs b/fyrox-impl/src/renderer/mod.rs index a83690982..7a707a24e 100644 --- a/fyrox-impl/src/renderer/mod.rs +++ b/fyrox-impl/src/renderer/mod.rs @@ -255,7 +255,7 @@ impl RenderDataContainer { // Intermediate scene frame will be rendered in HDR render target. let hdr_frame_texture = server.create_2d_render_target( "ObserverHdrFrame", - PixelKind::RGBA16F, + PixelKind::RGB10A2, width, height, )?;