r/GraphicsProgramming • u/MAIPA01 • Sep 06 '26
Question Struggle in BDPT implementation
Hi I wanted to implement BDPT with PBR materials and MIS but no matter what I do it doesn't look like reference images. I can't find any help with implementation and mostly recently I try finding bugs using Gemini but I know It can halucinate. So is anyone who could help me find relaiable implementation or help with my code. Here I will post my render (denoised using OIDN) vs reference so maybe anyone would help me find direction at least. I have too many lines of code so if any one would like to look at it I can send it in DM.








(edit)
References are from https://benedikt-bitterli.me/resources/, PBRT-v4 and Blender. (All tagged in image caption)
View all comments
Show parent comment
1
u/waramped Sep 06 '26
yea, I was going to say this almost looks like it could just be a tonemapping, exposure, or colorspace issue.
it could, possibly, also be a light source issue? Are you positive you are using the same values and color spaces for the light sources as the original?