Fix tonemapping test patten (#10092)
# Objective - Updating to wgpu 0.17 broke the tonemapping test patten ## Solution - Fix it
This commit is contained in:
parent
be8ff5d0e1
commit
65d57b9824
@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
// Sweep across hues on y axis with value from 0.0 to +15EV across x axis
|
// Sweep across hues on y axis with value from 0.0 to +15EV across x axis
|
||||||
// quantized into 24 steps for both axis.
|
// quantized into 24 steps for both axis.
|
||||||
fn color_sweep(uv: vec2<f32>) -> vec3<f32> {
|
fn color_sweep(uv_input: vec2<f32>) -> vec3<f32> {
|
||||||
var uv = uv;
|
var uv = uv_input;
|
||||||
let steps = 24.0;
|
let steps = 24.0;
|
||||||
uv.y = uv.y * (1.0 + 1.0 / steps);
|
uv.y = uv.y * (1.0 + 1.0 / steps);
|
||||||
let ratio = 2.0;
|
let ratio = 2.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user