Tag Info

Path tracing the Cook-Torrance BRDF

I am posting this for anyone wondering about the confusion between the terms $\frac{1}{\pi}$ and $\frac{1}{4}$. The term $\frac{1}{\pi}$ is an error from the original Cook-Torrance reference. In ...
• 546
Accepted

• 2,226
1 vote

PBR : Understanding the right part of Split sum integration of specular IBL

I recommend to ignore my post (however I consider papers that I've sent valueable) and read post of Nathan Reed, which is much better in explaining this problem! I'm still a junior when it comes to ...
1 vote

total internal reflection implementation in pbrt-v3

The code does seem a bit ugly since it doesn't assign pdf and instead returns 0. By returning 0 it's basically saying the same thing as pdf = 0 because f.IsBlack() ...
• 506
1 vote

Normal Artifacts On Grazing Angles

According to learnopengl.com, the term $G(l, v, n)$ in the Cook-Torrance Specular BRDF can be written as $$G=\frac{n \cdot v}{(n \cdot v)(1-k)+k} \cdot \frac{n \cdot l}{(n \cdot l)(1-k)+k}$$ and ...
1 vote

PBR and Specular Aliasing

I'll point out that even if you did implement it correctly, at 1 sample per pixel with low roughness materials you'll still see heavy specular aliasing. It's not uncommon to see the firefly pattern on ...
• 506
1 vote
Accepted

Same specular lighting on both tris in a quad (for "low-poly" "flat shading" look)?

If I understand you correctly, the problem is that the provoking vertex isn't the same vertex between the two triangles in a quad, due to using triangle strips. You could switch to using an indexed ...
• 25.1k

Only top scored, non community-wiki answers of a minimum length are eligible