Advanced search tips: use spaces to require multiple terms (AND), | for alternatives (OR), wrap phrases in quotes (="a b"), =term for exact match, 'term to include, !term to exclude, ^term to match prefix, !^term to exclude prefix, .ext$ to match suffix, and !.ext$ to exclude suffix.

tonemapping_test_patterns.wgsl

Functions

color_sweep

#

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_input: vec2<f32>
) -> vec3<f32>

hsv_to_srgb

#
fn hsv_to_srgb ( ) -> vec3<f32>

continuous_hue

#

Generates a continuous sRGB sweep.

fn continuous_hue ( ) -> vec3<f32>

fragment

#
@fragment
Calculates the final color of each pixel on the screen
fn fragment ( ) ->
@location(0)
vec4<f32>