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.

Structures

Atmosphere

#
struct Atmosphere {
ground_albedo: vec3<f32>,
bottom_radius: f32,
top_radius: f32,
}

AtmosphereSettings

#
struct AtmosphereSettings {
transmittance_lut_size: vec2<u32>,
multiscattering_lut_size: vec2<u32>,
sky_view_lut_size: vec2<u32>,
aerial_view_lut_size: vec3<u32>,
transmittance_lut_samples: u32,
multiscattering_lut_dirs: u32,
multiscattering_lut_samples: u32,
sky_view_lut_samples: u32,
aerial_view_lut_samples: u32,
aerial_view_lut_max_distance: f32,
scene_units_to_m: f32,
sky_max_samples: u32,
rendering_method: u32,
}

AtmosphereTransforms

#

“Atmosphere space” is just the view position with y=0 and oriented horizontally, so the horizon stays a horizontal line in our luts

struct AtmosphereTransforms {
world_from_atmosphere: mat4x4<f32>,
}

AtmosphereData

#
Used by 1 shader in bevy_pbr 0.18.1
struct AtmosphereData {
atmosphere: Atmosphere,
settings: AtmosphereSettings,
}
Contents