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
Luke Benstead
e0613faced
Tweak zclip demo
2019-03-25 18:51:36 +00:00
Luke Benstead
7e47b21fb5
Move back and forth in the zclip sample
2019-03-25 16:07:54 +00:00
Luke Benstead
bd0ef4cba3
Demo multitexturing in zclip, default to GL_MODULATE on multitexture
2019-03-24 14:09:52 +00:00
lerabot
f128efad6b
Added comments
2019-03-21 12:16:54 -04:00
lerabot
34163498bd
early test for testing depth/alpha function with .DTEX
2019-03-21 12:13:03 -04:00
Luke Benstead
70ceb70f0b
Fix invalid filter param
2019-03-11 19:51:13 +00:00
Luke Benstead
2485ea3428
Prove rectangular twiddling is broken
2019-03-11 19:08:32 +00:00
Luke Benstead
588c082ec8
Allow specifying palette, autosort, memory options via glKosInitEx
2019-03-11 19:07:59 +00:00
Luke Benstead
7512c1e767
Fix GL_ALPHA_TEST sample
2019-03-10 19:59:34 +00:00
Luke Benstead
e4186a05bf
Start working on a test for GL_ALPHA_TEST
2019-03-10 19:38:47 +00:00
Luke Benstead
b00b65af54
Fix issues with triangle fans / polygons
2019-03-10 12:24:27 +00:00
Luke Benstead
259a82e69f
Add support for multiple shared palettes
2019-03-10 11:18:56 +00:00
Luke Benstead
df3cdf0ebb
Fix drawing polygons. Fixes #35
2019-03-07 21:41:25 +00:00
Luke Benstead
d7342fa0c0
Automatically twiddle non-twiddled palette data
2019-03-07 21:21:30 +00:00
Luke Benstead
2ac9cac22d
Use the shared palette in the sample
2019-03-04 20:56:17 +00:00
Luke Benstead
ba4fde3975
Fix depth funcs
2019-03-03 19:41:19 +00:00
Luke Benstead
3c3018450f
Support twiddled and non-twiddled paletted textures
2019-03-03 18:49:33 +00:00
Luke Benstead
50f1e277d8
Merge branch 'master' into ext-paletted-texture
2019-02-21 21:26:23 +00:00
Luke Benstead
464c12cfc5
Disable mipmap filtering on the paletted texture sample
2019-02-21 21:22:39 +00:00
Luke Benstead
571438ef4e
Implement glColorTableEXT
2019-02-21 20:35:18 +00:00
Luke Benstead
df44c0ea73
More performance work and fix bugs introduced in last commit
2018-10-09 09:27:53 +01:00
Luke Benstead
18759422ea
Optimise non-indexed rendering paths
2018-10-08 22:03:50 +01:00
Luke Benstead
963eeb54da
Start work on spotlights
2018-08-28 15:55:50 +01:00
Luke Benstead
d36469faaf
Start implementing a multitexture example
2018-08-17 07:09:53 +01:00
Luke Benstead
e7cd91a91f
Try to match GL filtering with PVR filtering
2018-08-09 09:32:29 +01:00
Luke Benstead
5c190c1095
Implement glGenerateMipmapEXT
2018-08-09 08:56:43 +01:00
Luke Benstead
4c99dd740a
Add support for mipmapped compressed textures
2018-08-08 09:50:57 +01:00
Luke Benstead
b06f6116c8
Detect multiple mipmap levels being uploaded to glCompressedTexImage2D
2018-08-08 08:45:25 +01:00
Luke Benstead
86dd5dd2b2
glCompressedTexImage2D is an ARB extension in OpenGL 1.2.1
2018-08-07 20:49:10 +01:00
Luke Benstead
c5cb41f1f1
Fix the twiddled flag
2018-08-07 20:34:07 +01:00
Luke Benstead
16d949bfbc
Clean up compressed texture constants and code
2018-08-07 20:22:44 +01:00
Luke Benstead
59002546e6
Fix lighting
2018-08-03 14:08:01 +01:00
Luke Benstead
332475c340
Add quadmark sample
2018-08-02 20:13:45 +01:00
Luke Benstead
0bf023b8df
Fix a bug where headers weren't sent to a list
2018-08-02 19:56:50 +01:00
Luke Benstead
bebca59796
Allow toggling z clipping
2018-08-01 11:32:07 +01:00
Luke Benstead
8cc9e84cca
Add a (broken) terrain sample
2018-08-01 11:08:39 +01:00
Luke Benstead
a113722d82
Update the zclip_trianglestrip sample to show glitches
2018-07-16 17:25:30 +01:00
Luke Benstead
cdef5972f5
Fix bug when clipping triangle strips
2018-07-15 19:48:56 +01:00
Luke Benstead
81b52e7a18
Finish initial pass at a zclipping implementation
2018-07-14 21:54:43 +01:00
Luke Benstead
b29956af84
Fix a minor issue in the lerabot sample
2018-06-09 16:44:11 +01:00
Luke Benstead
e70922ebb7
Fix various problems with the lighting calculations
2018-06-06 21:23:17 +01:00
Luke Benstead
e4311c5d0b
Update Makefile
2018-06-05 19:52:01 +01:00
lerabot
ecccfe9d55
Merge branch 'master' of https://github.com/Kazade/GLdc
...
Conflicts:
samples/Makefile
2018-06-05 12:17:21 -04:00
lerabot
7c60a2b0db
adding lerabot sample
2018-06-05 12:16:38 -04:00
lerabot
f1c58fe901
lerabot example
2018-06-05 12:16:10 -04:00
Luke Benstead
5b05039dfd
Add a sample demonstrating the zclipping issue
2018-05-31 19:34:55 +01:00
Luke Benstead
9167869633
Add gluOrtho2D, ortho2d example and fix glOrtho
2018-05-29 19:39:27 +01:00
Luke Benstead
101f260ce6
Add nehe06
2018-05-29 17:18:01 +01:00
Luke Benstead
a8d5d2f506
Add NeHe lesson 3, and a Vertex Array version of lesson 2
2018-05-29 17:02:57 +01:00
Luke Benstead
ac43344666
Add placeholder so that the romdisk folder stays around
2018-05-29 15:41:42 +01:00
Luke Benstead
fc14c9fa9a
Remove unnecessary files from git
2018-05-29 13:16:11 +01:00
Luke Benstead
b6b1591010
Add the first nehe sample and make it work
2018-05-29 13:12:38 +01:00