Hello.
I am not sure if it actually goes into rendering section.
I am trying to find a way to make everything, with some exceptions, render as gray when they are over a set distance away from the player, gradually gaining/losing the color depenging ont he distance.
For example, everything less than 10 meters away are normally colored, and from 10 to 15 meters away the gradually become gray untill everything from 15 meters and further are completely gray. And to have some items not be affected by this effect and be rendered in their normal color regardless of distance.