Commit Graph

19 Commits

Author SHA1 Message Date
Magnus Norddahl e3dc9c93b9 Use a simpler algorithm for the stencil buffer as the old one was too slow 2016-11-12 13:50:28 +01:00
Magnus Norddahl eb4021b997 Codegen for all triangle variants 2016-11-12 10:21:02 +01:00
Magnus Norddahl c852b6c5e9 Add codegen for one of the triangle variants 2016-11-12 00:50:21 +01:00
Magnus Norddahl 667f35bfce Declare structs to LLVM 2016-11-11 20:12:09 +01:00
Magnus Norddahl 0938420871 Make triangle drawers compatible with LLVMDrawers 2016-11-11 19:54:27 +01:00
Magnus Norddahl 3cc5cec5a0 Hook up subsector gbuffer 2016-11-11 19:26:28 +01:00
Magnus Norddahl 5a9d4ee9d9 Simplify argument passing 2016-11-11 18:24:59 +01:00
Magnus Norddahl 373038231c More stencil sky stuff 2016-11-10 13:58:03 +01:00
Magnus Norddahl 049ceecca5 Toying with stencils 2016-11-10 10:44:35 +01:00
Magnus Norddahl b94096ffe1 Crash fixes 2016-11-10 05:30:33 +01:00
Magnus Norddahl 95df9bf48e Fix crash bug in 8 bit drawer 2016-11-09 00:35:41 +01:00
Magnus Norddahl 968150ceff Seems there could be more than 6 vertices 2016-11-09 00:22:05 +01:00
Magnus Norddahl 7d3e8d1414 Fix triangle drawer clipping bug 2016-11-08 23:08:25 +01:00
Magnus Norddahl 6ef8fe2da5 Add diminishing lighting 2016-11-08 18:08:13 +01:00
Magnus Norddahl c1d496c17f A little bit of SSE to speed it slightly more 2016-11-08 17:38:19 +01:00
Magnus Norddahl 466274d7f6 Remove floats from the inner block loop 2016-11-08 16:46:15 +01:00
Magnus Norddahl 28d1cdc1cc Add TriUniforms and move light to it 2016-11-08 16:16:24 +01:00
Magnus Norddahl 6620d99fbb Fix frame buffer bounds and access errors 2016-11-08 15:27:45 +01:00
Magnus Norddahl cb4b74e0c3 Double render speed of triangle drawer in the poly version by removing sprite clip and assigning whole blocks to threads 2016-11-08 14:28:58 +01:00