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

Supermodel 0.3 WIP SVN739 [522][witek], 2018-09-04 19:16:41

[Source: https://sourceforge.net/p/model3emu/code/HEAD/tree/]

-Forgot parentheses
-Draw transparent polys to separate layers and composite at the end. This solves a tonne of transparency errors we had been battling with for a long time. The model3 is strange in the fact it only supports a max of two translucent overlapped polys. They are not blended into the frame normally. Doing this means the topmost translucent polys only are visible in the scene, the equivalent of doing a depth pass first, but without the added cost.
-Fix cast, and remove extra ; that had snuck into the shaders
-Add crosshair effect
-Use correct PCI IDs
-Remove dead variable
– Sega bass fishing is starting some off the meshes with a shared vertex. Without having a previous vertex to share with, the values were just uninitialised and junk. The hardware itself seems to hold the value from the previous mesh, and sega bass fishing relies on this undefined behaviour to function correctly. Storing the cached vertices as member variables instead of locally to the function means it holds the values from the last mesh, and uses those values instead of random garbage.