removed if statement in initShaders() that was causing a blank scene when attenuation box was not checked.