diff options
Diffstat (limited to 'shaders')
| -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 | ||
