Search across packages, versions, files, declarations, and comments. Use multiple terms to narrow results (AND), and add @vertex, @fragment, or @compute to filter by shader stage.

Functions

scattering_adjusted_fog_color

#
fn scattering_adjusted_fog_color (
fog_params: Fog
, 
scattering: vec3<f32>
) -> vec4<f32>

linear_fog

#
fn linear_fog (
fog_params: Fog
, 
input_color: vec4<f32>
, 
distance: f32
, 
scattering: vec3<f32>
) -> vec4<f32>

exponential_fog

#
fn exponential_fog (
fog_params: Fog
, 
input_color: vec4<f32>
, 
distance: f32
, 
scattering: vec3<f32>
) -> vec4<f32>

exponential_squared_fog

#
fn exponential_squared_fog (
fog_params: Fog
, 
input_color: vec4<f32>
, 
distance: f32
, 
scattering: vec3<f32>
) -> vec4<f32>

atmospheric_fog

#
fn atmospheric_fog (
fog_params: Fog
, 
input_color: vec4<f32>
, 
distance: f32
, 
scattering: vec3<f32>
) -> vec4<f32>
Contents