Commit Graph
5 Commits
Author SHA1 Message Date
Pixelflinger 1396cc751c fix constness of CubemapUtils::process 2018-09-21 11:49:56 -07:00
Mathias Agopian 4475cbaf2e fold the lambert brdf into the SH coefs
this saves one multiply in the shader, but most
importantly makes the first SH coefficient a
color and reduces its range

ALL IBLs NEED TO BE REGENERATED using cmgen
2018-09-10 21:09:11 -07:00
Romain Guy 3b110e3774 Fix uninitialized vectors in envmap processing 2018-08-16 14:56:00 -07:00
Romain Guy bb553bf53d Fix uninitialized memory bug in cmgen (#93)
We recently changed the default constructor of vector to not initialize the vector to 0. This caused subtle issues in cmgen which was creating arrays of vectors. This change simply forces 0 initialization of those arrays.
2018-08-13 22:24:23 -07:00
Romain Guy b3d758f3b3 Initial commit 2018-08-03 10:38:22 -07:00