jalberse / shimmer

Physically based rendering in Rust
Apache License 2.0
33 stars 0 forks source link

BxDF Interface, Diffuse BxDF #25

Closed jalberse closed 8 months ago

jalberse commented 8 months ago

This implements the BxDF interface and enum and a diffuse BxDF. Also implements the wrapper BSDF for converting from render to shading local frame. Will need other BxDF implementations later, but this should be sufficient for defining the interface.