When spectating an enderman in spectator mode using Fancy graphics (and probably also Fabulous graphics - can't test that as my hardware doesn't support it), its view is darkened by the lack of light when not hiding game overlays with F1.
Endermen view should become lighter as the local light level becomes darker. This only happens correctly when overlays are hidden with F1.
Endermen view becomes darker at darker places, while still seeing in negative colors. The darkening is inconsistent within color negation and should not happen as it does not happen either when hiding overlays with F1.
- Find an enderman in a dark place
- Go into spectator mode (if not already) and spectate the enderman
- Make sure game overlays render properly
Enderman view renders in negative colors but is darkened
- Disable game overlays with F1
Enderman view now renders correctly
View of an enderman in a warped forest without overlays hidden. Notice that it renders way too dark for the average view of an enderman in a warped forest. The nether is generally dark and thus endermen should be seeing light.
View of an enderman in a warped forest with overlays hidden (F1). Notice that it now renders correctly, compared to the above screenshot.
The cause is the vignette filter (not fully sure why, but I can prove). The vignette filter is rendered in the net.minecraft.client.gui.Gui class and slowly adapts its brightness to the local light level (inversed: 1 - lightLevel). Now it is notable that when placing glowstone near the spectated enderman with a command, the view of the enderman slowly becomes brighter, just like the vignette would do. I'm unsure why it darkens the complete view, but that could probably be the applied blending function.
Since the vignette filter is rendered with the GUI, it is rendered after the post shader has been rendered, and thus after the screen colors have been inverted. With the inverse shader, this brings weird effects.
A probable solution would be to render the vignette before the post shader. In the net.minecraft.client.renderer.GameRenderer both the post shader and the GUI are rendered. A modification could be as simple as triggering the vignette renderer before rendering the post shader:
(code samples remapped with official mappings, and decompiled with JD-core)
Another solution is to disable the vignette completely when in spectator mode. This could probably have some minimal but unintended side effects though.