diff options
| author | 3gg <3gg@shellblade.net> | 2025-10-24 14:51:09 -0700 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2025-10-24 14:51:09 -0700 |
| commit | 2ab39850197036f16148a02babf528bc12c07ea5 (patch) | |
| tree | e8c9ed9556dc5d3b16be2ec5530a1fc10ccd2874 /shaders/cook_torrance.frag | |
| parent | f25912c87291bd84a9d1a430c3c35b3604d4bd56 (diff) | |
More references
Diffstat (limited to 'shaders/cook_torrance.frag')
| -rw-r--r-- | shaders/cook_torrance.frag | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shaders/cook_torrance.frag b/shaders/cook_torrance.frag index 74a89e2..9ff5a8d 100644 --- a/shaders/cook_torrance.frag +++ b/shaders/cook_torrance.frag | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | [1] BRDF reference: https://graphicrants.blogspot.com/2013/08/specular-brdf-reference.html | 2 | [1] BRDF reference: https://graphicrants.blogspot.com/2013/08/specular-brdf-reference.html |
| 3 | [2] glTF reference implementation: https://github.com/KhronosGroup/glTF-Sample-Renderer/blob/main/source/Renderer/shaders/brdf.glsl | ||
| 4 | [3] Learn OpenGL reference: https://learnopengl.com/PBR/Theory (see other chapters also for IBL) | ||
| 3 | */ | 5 | */ |
| 4 | precision highp float; | 6 | precision highp float; |
| 5 | 7 | ||
