Commit Graph

47 Commits

Author SHA1 Message Date
a4417b727a lower GL requirement of renderer itself to 3.1 2019-05-19 23:59:43 +02:00
1fb3968047 properly clean up GL resources 2019-05-19 23:06:42 +02:00
6dbb645ffa make shadows work without relying on black magic.
clean up the code some.
2019-05-19 22:08:30 +02:00
61c1ebe01c finally fix shadows, mostly 2019-05-18 02:34:14 +02:00
5448969ca1 'fix' shadows 2019-05-18 02:16:07 +02:00
f1a970ec30 actually finish display capture in hardware-accel mode 2019-05-18 01:21:46 +02:00
de287825ee start work on display capture
also fix a bug in the compositing shader
2019-05-17 22:50:41 +02:00
26f997172b fix 3D doublebuffering 2019-05-17 19:09:41 +02:00
c1746f0c60 BAHAHAHHHH
HARK HARK HARK
2019-05-16 20:58:07 +02:00
c81bcccadc BAHAHAHAHAHAHAHAA 2019-05-16 16:27:45 +02:00
4b874cc440 make GL renderer able to coexist with GL screen drawing 2019-05-16 01:08:53 +02:00
f2725791d8 preliminary, shitty, code for drawing the main window with OpenGL 2019-05-16 00:30:55 +02:00
256b8cb69c botch GL support. 2019-05-15 19:49:21 +02:00
4d427c9d2d BAHAHAHAHAHA 2019-05-14 17:45:16 +02:00
71ecb6a65b derping around 2019-05-14 15:10:58 +02:00
0a464c504d de-hardcode the GL renderer.
init framebuffer to black.
fix bugs.
2019-05-12 16:32:53 +02:00
53b2262917 calculate hi-res vertex positions. reduces shaking of polygons when rendering at a higher res. 2019-05-11 15:14:59 +02:00
5c9df6a4e5 attempt to take shadow support a bit further. 2019-05-11 15:01:54 +02:00
492d2cfa69 implement texture blending/shading modes 2019-05-10 17:49:13 +02:00
b74587a482 * optional path for chunked rendering (might be faster, but not always)
* fix bugs
2019-05-10 16:30:20 +02:00
13b0d13e23 move code around 2019-05-10 15:59:46 +02:00
92d67a17de (disabled) proof-of-concept antialiasing 2019-05-10 02:28:26 +02:00
8efc8623ad do not hardcode GL screen size all over the place 2019-05-10 01:52:05 +02:00
fb4f972cad hires hax. somewhat functional 2019-05-08 01:58:34 +02:00
dc68842db4 some work on shadows.
(still need to check opaquePolyID)
2019-05-03 18:55:45 +02:00
3d77087320 betterer transparency support 2019-05-02 13:44:54 +02:00
1e29e1242d beginning work on transparency support.
floats suck.
depth/stencil textures suck.
the world sucks.
burn it down.

r e v o l u t i o n

in the meantime getting this shit working wouldn't be too bad tho.
2019-05-02 04:16:48 +02:00
4a776f5d5b half-proper screen clear.
still missing bitmap mode, but atleast you can play NSMB without being in the dark.
2019-05-02 02:28:31 +02:00
8c2b4b4813 very evil shit 2019-05-01 23:35:48 +02:00
88bc765455 don't lose half the zbuffer range 2019-04-29 19:13:20 +02:00
ffa0ddd94c fix the alpha0 shit 2019-04-29 18:52:23 +02:00
41e7af8412 add remaining texture types 2019-04-29 18:47:32 +02:00
e7be82430b texcoord wrap modes 2019-04-29 18:24:36 +02:00
eb9cfd12d4 * add type5 textures
* fix texture distortion. I knew it was something stupid like that.
2019-04-29 13:05:15 +02:00
2a63ba40d7 support 256-color textures.
but ass-batteringly shitty.
2019-04-29 04:19:56 +02:00
6febd79f83 finally get wbuffering covered. 2019-04-25 13:32:15 +02:00
448806fada weak little attempt at a zbuffer.
still bad for wbuffering because of course it is
2019-04-24 22:38:50 +02:00
15b7903170 now with perspective correction! 2019-04-10 23:55:34 +02:00
3888518575 here, have vertex colors 2019-04-10 23:47:58 +02:00
210a5b583e make it actually work without asploding half the geometry
also, fix colors
2019-04-10 23:25:01 +02:00
ccc9608ad2 it renders shit!!
albeit in monochrome and with fucky clipping for some reason
2019-04-10 22:49:06 +02:00
32c75e20a6 here, have shader shit 2019-04-09 23:23:24 +02:00
00341bbae5 actually, seems faster to read it all at once?? 2019-04-01 04:58:21 +02:00
1f13d9ce80 * move GL init to main thread
* fix potential bug causing the screen bitmap to be created twice
2019-04-01 04:50:48 +02:00
2d0d501d1f probs better this way
(ultimately RequestLine should be axed)
2019-04-01 04:22:03 +02:00
8bc4ca3fc8 fasterer framebuffer read 2019-04-01 04:20:43 +02:00
f8751bd1fb first attempt at things
(also fix softrenderer reset)
2019-04-01 02:51:31 +02:00