Use Oklab color interpolation only with color::GAMMA_CORRECTION
This commit is contained in:
parent
2b746c7b25
commit
10d0b257f9
11 changed files with 544 additions and 489 deletions
|
|
@ -72,7 +72,11 @@ impl Pipeline {
|
|||
device.create_shader_module(wgpu::ShaderModuleDescriptor {
|
||||
label: Some("iced_wgpu.quad.solid.shader"),
|
||||
source: wgpu::ShaderSource::Wgsl(std::borrow::Cow::Borrowed(
|
||||
include_str!("../shader/quad.wgsl"),
|
||||
concat!(
|
||||
include_str!("../shader/quad.wgsl"),
|
||||
"\n",
|
||||
include_str!("../shader/quad/solid.wgsl"),
|
||||
),
|
||||
)),
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue