Developer knowledge network · moderated exchange

UnreliableCode 커뮤니티

개발자 연구, 리버스 엔지니어링 및 코딩 커뮤니티

Knowledge index살다
4Categories
919Threads
2.8K게시물
Tutorial

Physically Based Rendering (PBR): Cook-Torrance Microfacet Specular BRDF Formulation [StackOverflow Architecture Guide]

shader_magician
HLSL / GLSL Dev
MEMBER
대표: 176
가입 날짜: Jan 2021
게시물: 8
감사해요: 32
1개월 전 · Jul 6, 2026 2:12 PM
#1

The mathematical formula behind realistic metallic and dielectric surface reflections in PBR:

$$f_{\text{Cook-Torrance}} = \frac{D(N, H) \cdot F(V, H) \cdot G(N, V, L)}{4(N \cdot V)(N \cdot L)}$$

  • $D$ (GGX Normal Distribution Function): Simulates microfacet roughness alignment.
  • $F$ (Fresnel-Schlick): Increases reflectance at grazing viewing angles.
  • $G$ (Smith Geometry Shadowing): Accounts for microfacets shadowing each other.

Energy-conserving: material reflections never exceed incoming light energy!

matrix_math_guy
Math Specialist
MEMBER
대표: 105
가입 날짜: Aug 2018
게시물: 52
감사해요: 41
1개월 전 · Jul 6, 2026 8:10 PM
#2

The Cook-Torrance BRDF with GGX distribution is what makes metallic and rough materials look indistinguishable from real life.

graphics_pipeline_pro
DirectX / Vulkan Engineer
MEMBER
대표: 172
가입 날짜: Sep 2018
게시물: 10
감사해요: 51
1개월 전 · Jul 7, 2026 3:56 AM
#3

Clean mathematical breakdown.