Hi,
anyone have experience with the BSDFs in MDL? No matter how I try, I only get black results from df::diffuse_transmission_bsdf, doing the plastic example in the MDL handbook for instance
example:
test_diffuse renders black, test_simple looks sss:y. Bug?
anyone have experience with the BSDFs in MDL? No matter how I try, I only get black results from df::diffuse_transmission_bsdf, doing the plastic example in the MDL handbook for instance
example:
Code:
mdl 1.3; import df::*; export material test_diffuse () = let { bsdf transmit_bsdf = df::diffuse_transmission_bsdf(tint: color(1.0, 1.0, 1.0)); material_surface mat = material_surface( scattering: transmit_bsdf ); } in material( thin_walled: true, surface: mat ); export material test_simple () = let { bsdf transmit_bsdf = df::simple_glossy_bsdf(1.0, tint: color(1.0, 1.0, 1.0), mode: df::scatter_transmit); material_surface mat = material_surface( scattering: transmit_bsdf ); } in material( thin_walled: true, surface: mat );
Comment