Emu#dreams Forum | Download | RSS | IRC | ADD NEWS | last 7 days | last 31 days | MUSEUM

Supermodel 0.3 WIP SVN679 [554][witek], 2017-11-24 15:23:43

–The vertex shader is run before clipping is done. If fogging values are calculated and clamped in the vertex shader it can interpolate bad values, since the range has been truncated. This happens if the polys overlap the near plane. The solution to clamp the values in the fragment shader. This fixes a bunch of fogging errors I long thought were transparency related errors in the ocean hunter.
–Shift fog maths to fragment shader to fix bug in virtua on.


Only for registered users!