Reworked FB Textures.
Added FB Texture menu item to dev features menu.
Note: build in tehpola's branch not tested.
Note 2: FB Textures are sometimes unstable. I'm not sure why, yet.
Using some PS functions to speed up matrix calculations.
Fixed CI texture caching problem.
Fixed texture filter modes for texture rectangles.
Some general code cleanup.
- 3D transform handled in hardware when possible (mainly Mario64)
- Fixed clipping and texture perspective correction by hacking the Projection matrix to reproduce the proper z and w coords (GX can't handle homogeneous coordinates :P). Note that this isn't guaranteed to work all the time so I'll have to do more testing.
- Added code to handle primeDepth source.
- Added Ztexture code for primeDepth.
- Fixed AlphaCompare flag.
- Other stuff...
Various TEV combiner fixes.
Fixed texture conversion for IA type textures.
- this fixes highlights on Mario's face, cloud poofs, etc...
Various other changes.
Plugin isn't quite ready for screenies, yet... There are a couple glaring bugs left to fix.
Updated Makefile.GLN64_dev for tehpola's new controller input.