10 lines
309 B
Rust
10 lines
309 B
Rust
//! WGSL shader generation from [`cord_trig::TrigGraph`].
|
|
//!
|
|
//! Produces a complete WGSL raymarcher: uniforms, SDF function,
|
|
//! normal estimation, soft shadows, ambient occlusion, ground plane,
|
|
//! and tone-mapped Blinn-Phong shading.
|
|
|
|
pub mod codegen_trig;
|
|
|
|
pub use codegen_trig::generate_wgsl_from_trig;
|