Added updateShader function to particle material so that it is updated when the scene's gammaCorrection flag changes