Source DiffuseIBL algorithm

This commit is contained in:
Vincent Lejeune 2014-12-07 21:37:16 +01:00
parent a320eebece
commit 6041c48fbe

View File

@ -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 blueLmn[9];
uniform float greenLmn[9]; uniform float greenLmn[9];
uniform float redLmn[9]; uniform float redLmn[9];