yuphin / Lumen

A Vulkan Raytracing framework for various bidirectional path tracing techniques
MIT License
480 stars 31 forks source link

is dielectric material issue? #38

Open tigrazone opened 9 months ago

tigrazone commented 9 months ago

I try to render scenes\cornell_box\cornell_box_dir.json image

when I change glass sphere material to "type": "dielectric" I have different image image

i.e. roughness = 0.0

why images are different?

tigrazone commented 4 months ago

I try to change https://github.com/yuphin/Lumen/blob/e08a96350a416de707c5a425ef40a1639e8769f3/scenes/torus/torus.xml#L19 to dielectric and VCM give me this picture image

with SPPM I have this image

yuphin commented 4 months ago

Yes, I think something in VCM broke while I was adding new materials. I'll look into it after I restructure the project a bit and finish up the remaining issues with ReSTIR PT.

tigrazone commented 4 months ago

I mean maybe dielectric material is not always works correct. second screenshot - SPPM, not VCM