mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 14:08:32 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@
|
|||
|
||||
// Sweep across hues on y axis with value from 0.0 to +15EV across x axis
|
||||
// quantized into 24 steps for both axis.
|
||||
fn color_sweep(uv: vec2<f32>) -> vec3<f32> {
|
||||
var uv = uv;
|
||||
fn color_sweep(uv_input: vec2<f32>) -> vec3<f32> {
|
||||
var uv = uv_input;
|
||||
let steps = 24.0;
|
||||
uv.y = uv.y * (1.0 + 1.0 / steps);
|
||||
let ratio = 2.0;
|
||||
|
|
Loading…
Add table
Reference in a new issue