Commit graph

21 commits

Author SHA1 Message Date
Magnus Norddahl
402227d6b6 Add some intersection tests useful for culling 2016-11-12 14:55:14 +01:00
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
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
529a93b680 Sky rendering fixes 2016-11-11 10:15:27 +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
204d09efde Add a stencil buffer 2016-11-10 08:08:37 +01:00
Magnus Norddahl
b94096ffe1 Crash fixes 2016-11-10 05:30:33 +01:00
Magnus Norddahl
6c52e1e52b Draw sky in a very expensive way 2016-11-10 05:01:33 +01:00
Magnus Norddahl
dc0e6d40a4 Distance sort sprites 2016-11-09 11:38:07 +01:00
Magnus Norddahl
cffdfdf7fd Cull bsp using solid segments 2016-11-09 01:33:40 +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
Magnus Norddahl
2e2d6da00f Only draw thing if its in the subsector 2016-11-08 05:48:45 +01:00
Magnus Norddahl
d0f0500f0d Draw things 2016-11-08 05:17:29 +01:00
Magnus Norddahl
b9d6fc6856 Add some light and transparency 2016-11-08 02:48:14 +01:00
Magnus Norddahl
237f54f4be Toying with triangle drawer and GL BSP nodes 2016-11-07 09:25:12 +01:00