Changed BOOLs to lowercase bool.
Fixed issue that broke shaders. Was confusing log2 macro with math log2 function.