Fixed an issue that user cannot install some shaders in a correct location
fixed fog compatibility issue