Add dielectric pbrt material

This commit is contained in:
hal8174 2025-08-28 00:22:58 +02:00
parent 0480e041cd
commit 2269bd102d
Signed by: hal8174
SSH key fingerprint: SHA256:NN98ZYwnrreQLSOV/g+amY7C3yL/mS1heD7bi5t6PPw
5 changed files with 43 additions and 27 deletions

View file

@ -1,6 +1,5 @@
use plotters::prelude::*;
use ray_tracing_core::prelude::*;
use ray_tracing_material::microfacet::fresnel_real;
use ray_tracing_core::{math::material::fresnel_real, prelude::*};
fn main() -> Result<(), Box<dyn std::error::Error>> {
let root = BitMapBackend::new("fresnel.png", (640, 480)).into_drawing_area();