#[cfg(not(target_arch = "wasm32"))]
pub(crate) const ENGINE3D_WORKER_PREFIX: &str = "euv-3d";
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const ENGINE3D_WORKER_MAX_THREADS: usize = 16;
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const ENGINE3D_WORKER_SPIN_LIMIT: u32 = 64;
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const ENGINE3D_CALLER_SPIN_LIMIT: u32 = 64;
pub(crate) const MLAA_MAX_WALK_STEPS: usize = 8;
pub(crate) const SOFT_SHADOW_OFFSETS_4: [(f32, f32); 4] = [
(0.016, 0.012),
(-0.014, 0.016),
(0.012, -0.016),
(-0.016, -0.012),
];
pub(crate) const GI_JITTER_4: [[f32; 3]; 4] = [
[0.38, 0.52, -0.24],
[-0.34, 0.56, 0.28],
[0.24, 0.48, 0.36],
[-0.28, 0.50, -0.34],
];
pub(crate) const HALTON_JITTER_8: [(f32, f32); 8] = [
(0.0, 0.0),
(-0.25, 0.166_667),
(0.25, -0.166_667),
(-0.125, -0.333_333),
(0.125, 0.333_333),
(-0.312_5, -0.055_556),
(0.312_5, 0.055_556),
(-0.062_5, 0.277_778),
];