diff --git a/voxygen/src/render/pipelines/shadow.rs b/voxygen/src/render/pipelines/shadow.rs index ecbb95cd3c..b39f2bb950 100644 --- a/voxygen/src/render/pipelines/shadow.rs +++ b/voxygen/src/render/pipelines/shadow.rs @@ -65,7 +65,7 @@ pub fn create_col_lights( mip_level_count: 1, sample_count: 1, dimension: wgpu::TextureDimension::D2, - format: wgpu::TextureFormat::Rgba8UnormSrgb, + format: wgpu::TextureFormat::Rgba8Unorm, usage: wgpu::TextureUsage::SAMPLED | wgpu::TextureUsage::COPY_DST, }; @@ -83,7 +83,7 @@ pub fn create_col_lights( let view_info = wgpu::TextureViewDescriptor { label: None, - format: Some(wgpu::TextureFormat::Rgba8UnormSrgb), + format: Some(wgpu::TextureFormat::Rgba8Unorm), dimension: Some(wgpu::TextureViewDimension::D2), aspect: wgpu::TextureAspect::All, base_mip_level: 0, diff --git a/voxygen/src/scene/terrain.rs b/voxygen/src/scene/terrain.rs index 06a5a6fd7d..f98daa21b6 100644 --- a/voxygen/src/scene/terrain.rs +++ b/voxygen/src/scene/terrain.rs @@ -599,12 +599,12 @@ impl Terrain { mip_level_count: 1, sample_count: 1, dimension: wgpu::TextureDimension::D2, - format: wgpu::TextureFormat::Rgba8UnormSrgb, + format: wgpu::TextureFormat::Rgba8Unorm, usage: wgpu::TextureUsage::COPY_DST | wgpu::TextureUsage::SAMPLED, }, &wgpu::TextureViewDescriptor { label: Some("Atlas texture view"), - format: Some(wgpu::TextureFormat::Rgba8UnormSrgb), + format: Some(wgpu::TextureFormat::Rgba8Unorm), dimension: Some(wgpu::TextureViewDimension::D2), aspect: wgpu::TextureAspect::All, base_mip_level: 0,