Implemented basics principled shader for diffuse + specular + transmission + normal + alpha in my pathtracer. Finally being able to render full Bistro scene.

u/BlackGoku36 — 3 months ago

Added better materials to my path tracer

Added better materials to my path tracer and added multiple importance sampling.

  1. Glass (varying roughness)
  2. Glossy (varying roughness)
  3. Diffuse (varying roughness)
  4. mix(diffuse, glossy, 0.1) (glossy of varying roughness) Roughness vary from left to right (0.0, 0.5, 1.0). Glass and Glossy material uses single-scattering GGX and Diffuse uses Energy-preserving Oren-Nayar model.

Edit: 3D model is from here: https://sketchfab.com/3d-models/laughing-buddha-646f46ae29084d8696afc4efa5c81c39

u/BlackGoku36 — 3 months ago