Locke, Berkeley, Hume and all philosophers of that time and earlier were handicapped by ignorance of how our brains actually work. Contemporary neuroscience is showing us how what we know about reality depends on both our minds/brains AND on phenomena outside them.