how to fix this issue with my skybox turning gray depending on the position I'm looking at?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By yelfog

my sky turns gray depending on the position I look in and how far I am from it. I suspect it is being caused by my player’s viewport(s) or the pixel shader i’m using.

-https://youtu.be/VDOnTkLla_o