Commit Graph

102 Commits

Author SHA1 Message Date
OzzyOuzo
148962254a 4bpp texture palette support, modified paletted_pcx sampled (USE_16C_PALETTE) 2021-11-18 12:04:46 +02:00
OzzyOuzo
37110ba47f 4bpp texture palette support (GL_RGBA8 pal components), modified paletted_pcx sample (USE_16C_PALETTE) 2021-11-18 11:59:37 +02:00
Luke Benstead
5df2190536 Fix various bugs with non-fastpath rendering 2021-10-02 14:43:23 +01:00
Luke Benstead
cef1e852f4 Fix ci 2021-10-01 20:20:29 +00:00
T_chan
830a985606 Avoid the need to hard-reset the Dreamcast to exit the samples - use the start button in all samples 2021-10-01 19:57:32 +00:00
Colton Pawielski
3d6c756ab7 Fix memory leaks in samples
Add free to end of LoadGLTextures() to release image1 after use.
2021-05-14 08:57:10 -04:00
Luke Benstead
cfefce44a6 Add nehe20 sample 2021-05-08 14:17:57 +01:00
Luke Benstead
a98f22e3c9 Remove old Makefiles 2021-05-08 13:15:18 +01:00
Luke Benstead
0a8d43d47b Add nehe08 sample 2021-04-30 20:47:33 +01:00
Luke Benstead
fcbb6418d2 Perf improvements 2021-04-26 16:16:25 +01:00
Luke Benstead
ea25251944 Optimisations 2021-04-20 16:08:58 +01:00
Luke Benstead
8977fbf6e2 Compile quadmark on PC 2021-04-19 20:43:56 +01:00
Luke Benstead
ce9f3677f6 Immediate mode optimisation 2021-04-18 21:33:23 +01:00
Luke Benstead
f03f0e8f04 Implement glScissor correctly 2021-04-14 21:38:33 +01:00
Luke Benstead
7146ed303b Add some files 2021-04-14 08:36:46 +01:00
Luke Benstead
30d76eada9 Fix texture issues 2021-04-13 21:28:59 +01:00
Luke Benstead
fe616028bb X86 2021-04-09 15:24:47 +00:00
Luke Benstead
03694d85bf Minor fixes 2021-04-03 21:15:03 +01:00
Andress Barajas
9bb1c3a9e1 Added new nehe lessons 2020-10-03 00:27:11 -07:00
Andress Barajas
926961fe95 Remove DS_Store files 2020-10-02 19:51:21 -07:00
Andress Barajas
c6200e8391 Added more nehe samples 2020-10-02 19:37:13 -07:00
Luke Benstead
29658ef3de Revert to more traditional GL depth values to fix ortho 2020-05-15 20:43:55 +01:00
Luke Benstead
17db29142a Merge branch 'master' into 'master'
SAMPLE : depth testing with ortho projection

See merge request simulant/GLdc!59
2020-05-15 19:20:09 +00:00
lerabot
3817101653 Added depth_func_ortho 2020-05-14 17:13:04 -04:00
Luke Benstead
64f2a57dd0 Tweak depth_funcs_alpha_testing sample to use glOrtho 2020-05-14 07:20:41 +01:00
Luke Benstead
06acff400c Fix the blend test sample. We're using a perspective projection where -Z goes into the screen, so we need to shift positive 2020-05-14 07:08:56 +01:00
Luke Benstead
db079fdc39 Remove .gch files 2020-05-14 07:05:47 +01:00
lerabot
4e47b30b0a added a new depth/alpha testing sample 2020-05-13 10:34:18 -04:00
lerabot
bd59922052 updated makefile 2020-05-13 10:33:55 -04:00
lerabot
84f9711489 Updated the blend samples 2020-05-13 10:16:29 -04:00
Luke Benstead
814f228db9 Lighting optimisations 2020-05-07 20:58:24 +01:00
Luke Benstead
8add817086 Fix depth issues 2020-04-06 20:50:26 +01:00
Luke Benstead
cf90d10cb9 Fix clipping 2020 2020-04-03 19:12:42 +00:00
Luke Benstead
a1eda16a26 Update SH4_math.h and stop storing the near plane 2020-03-21 21:21:46 +00:00
Luke Benstead
03bc758be7 Allow enabling fsaa via the GLdcConfig struct 2020-03-18 20:47:12 +00:00
Luke Benstead
2178d2f6d7 Improve lighting performance
This is (another) first pass at improving the performance of the lighting code.
As part of this refactor *we have lost glColorMaterial*. I need to figure out a
nice way of implementing it without slowing the common code path.
2020-02-16 20:36:49 +00:00
Luke Benstead
b6e9b8c3ff Fix a glColorPointer call 2019-11-30 10:08:43 +00:00
Luke Benstead
11cd54bc0b Add partial support for GL_ARB_vertex_type_2_10_10_10_rev and also GL_NORMALIZE 2019-11-18 17:39:09 +00:00
Luke Benstead
fd3e7cde6c Improve the light sample + tweaks 2019-11-14 21:12:27 +00:00
Luke Benstead
8654ff24a2 Add light sample and fix lighting bug 2019-11-14 10:04:15 +00:00
Luke Benstead
2aafbfb571 Actually enable mipmapping in the paletted sample 2019-09-26 09:46:25 +01:00
Luke Benstead
2c5b71b2b0 Implement mipmap generation for paletted textures 2019-09-26 09:17:07 +01:00
Luke Benstead
150c95bd33 Huge refactor of mipmap handling. All textures are now stored twiddled on the PVR 2019-09-24 15:47:23 +01:00
Luke Benstead
aafb99dede Add a mipmap sample 2019-09-23 21:31:11 +01:00
Luke Benstead
83bad86bca Add a blend_test sample 2019-09-06 09:34:33 +01:00
Luke Benstead
00c38edba9 Add polygon_offset sample (thanks mrneo240) 2019-07-17 10:46:19 +01:00
Luke Benstead
26dd1c1205 Tweak the polymark sample 2019-03-30 07:11:08 +00:00
Luke Benstead
e876dcb14f Massively optimise GL_POLYGON/GL_TRIANGLE_FAN 2019-03-29 11:26:19 +00:00
Luke Benstead
a88a9029f5 Add a polymark sample 2019-03-29 11:26:19 +00:00
Luke Benstead
30f8564298 Fix glDrawElements 2019-03-27 09:39:06 +00:00