Remove the use of standard derivatives and optimize the shaders