I found with my note 20 ultra that had to turn off adaptive brightness in settings, display Also turned up brightness otherwise in bright sunlight it dulled the screen so much couldn't see anything.
I had the same it turned out to be malfunction with the camera, had to have it replaced, but as it was manufactured problem it was free. Try running Health check on the device care section