Updated shaders
Fixed multiple modes in one frame