Constants
Functions
Used by 1 shader in bevy-aqua-core 0.1.3
Used by 1 shader in bevy-aqua-core 0.1.3
Used by 1 shader in bevy-aqua-core 0.1.3
Reimplementation of the approach in Crest OceanEmission.hlsl:195-242. The opaque camera depth,
never SeaFloorDepth LodData, determines the view-ray water path and whether
a refracted sample landed on geometry in front of the water.
fn
camera_depth_debug_from_path
(
in: SurfaceVertexOutput,
path: CameraDepthPath
)
->
CameraDepthDebug
Used by 1 shader in bevy-aqua-core 0.1.3
fn
resolve_near_surface
(
in: SurfaceVertexOutput,
surface_lod: u32,
far_tier: f32,
mode: u32
)
->
NearSurface
Used by 1 shader in bevy-aqua-core 0.1.3
fn
illuminate_bed
(
in: SurfaceVertexOutput,
medium: MediumState,
primary: PrimaryLightState
)
->
vec3<f32>
Used by 1 shader in bevy-aqua-core 0.1.3
fn
resolve_transmission
(
in: SurfaceVertexOutput,
medium: MediumState,
foam: FoamState,
primary: PrimaryLightState,
mode: u32
)
->
TransmissionState
Dupuy et al. 2013 LEADR-style slope filtering. A pixel cannot resolve waves shorter than twice its projected world footprint. Integrate each shipped wavelength band’s measured slope variance below that Nyquist cutoff. The logarithmic partial-band term matches the generator’s octave partition.