The LodBias
property of the CubemapFogController
class is used to adjust how quickly the cubemap blurs out at closer distances. This property affects the level of detail (LOD) bias for the cubemap texture used in the fog effect.
A LodBias
value of 0.0
will always use the lowest resolution MIP level across the entire range, resulting in a more blurred appearance. Conversely, a value of 1.0
will use the highest resolution MIP level, providing a sharper appearance. Adjusting this value allows for fine-tuning the visual quality and performance of the fog effect.