Fixed shader function, reenabled shaders