Project

General

Profile

« Previous | Next » 

Revision 482f3aa3

Added by skyjake about 9 years ago

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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences