Skip to content

Commit

Permalink
Fix tonemapping test patten (bevyengine#10092)
Browse files Browse the repository at this point in the history
# Objective

- Updating to wgpu 0.17 broke the tonemapping test patten

## Solution

- Fix it
  • Loading branch information
DGriffin91 authored and ameknite committed Nov 6, 2023
1 parent 12cce14 commit a1ce3a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/shaders/tonemapping_test_patterns.wgsl
Expand Up @@ -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;
Expand Down

0 comments on commit a1ce3a7

Please sign in to comment.