Commit graph

14 commits

Author SHA1 Message Date
Tony Wasserka
00b7fbd19e softgpu: Implement depth testing. 2013-08-16 23:49:01 +02:00
Tony Wasserka
3cdf2a789d softgpu: Write to the correct frame buffer in RAM. 2013-08-16 23:49:01 +02:00
Tony Wasserka
29921e4b44 softgpu: Disable alpha blending when copying framebuffer to screen. 2013-08-16 23:49:00 +02:00
Tony Wasserka
41e2005ad0 softgpu: Fix various bugs.
Using model transformed normals for light calculations now.
Disabling textures if texture mapping isn't enabled now.
Forced target alpha to be written as 0xFF to workaround broken buffer management.
2013-08-16 23:48:59 +02:00
Tony Wasserka
b42b30e795 softgpu: Store color values as integers instead of as floating points. 2013-08-16 23:48:58 +02:00
Tony Wasserka
73e3b78169 softgpu: Support flat triangle shading. 2013-08-16 23:48:57 +02:00
Tony Wasserka
ed5fa1f4ff softgpu: Fix vertex color decoding. 2013-08-16 23:48:57 +02:00
Tony Wasserka
02f41ecbd6 softgpu: Perspective correct texture mapping. 2013-08-16 23:48:57 +02:00
Tony Wasserka
0c6a4c1bb6 softgpu: Working rectangle support. Through mode support. Clear mode support. Vertex color support. 2013-08-16 23:48:56 +02:00
Tony Wasserka
b5181c9f4f softgpu: Add support for RGB565, RGBA5111 and RGBA8888 textures. 2013-08-16 23:48:56 +02:00
Tony Wasserka
f6b51dcd55 softgpu: Working ARGB4444 texture support. 2013-08-16 23:48:55 +02:00
Tony Wasserka
7899a9b9c9 softgpu: Texture coordinate support and something like ARGB4444 texture support. 2013-08-16 23:48:55 +02:00
Tony Wasserka
748d2d60f7 softgpu: Implement filled triangle rendering. 2013-08-16 23:48:55 +02:00
Tony Wasserka
142f2a3688 softgpu: Move triangle rasterization code to a new file. 2013-08-16 23:48:54 +02:00