Model Renderer: Added fog to the model shaders
The fog start/end depths and the near/far clipping planes are passedto the model shaders, which are expected to use "include/fog.glsl" in their fragment shader.
The fog GL parameters were slightly refactored by moving them intoa single struct.
View differences
Model Renderer: Added fog to the model shaders
The fog start/end depths and the near/far clipping planes are passed
to the model shaders, which are expected to use "include/fog.glsl"
in their fragment shader.
The fog GL parameters were slightly refactored by moving them into
a single struct.