From 6041c48fbedb3b02e38ecdc9ef01c0f1c320a29a Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Sun, 7 Dec 2014 21:37:16 +0100 Subject: [PATCH] Source DiffuseIBL algorithm --- data/shaders/utils/DiffuseIBL.frag | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/shaders/utils/DiffuseIBL.frag b/data/shaders/utils/DiffuseIBL.frag index 0d4d14194..a581514e9 100644 --- a/data/shaders/utils/DiffuseIBL.frag +++ b/data/shaders/utils/DiffuseIBL.frag @@ -1,3 +1,7 @@ +// From "An Efficient Representation for Irradiance Environment Maps" article +// See http://graphics.stanford.edu/papers/envmap/ + +// Coefficients are calculated in IBL.cpp uniform float blueLmn[9]; uniform float greenLmn[9]; uniform float redLmn[9];