Commit Graph

173 Commits

Author SHA1 Message Date
fincs
ab534333b2 Fix minor error in uniforms.c 2016-07-21 12:06:09 +02:00
fincs
6361febd3c Correct drawing functions to take into account full geoshader support 2016-07-20 17:38:05 +02:00
fincs
a5d68c7557 Merge pull request #8 from Cruel/const
Make uniform matrix pointers const
2016-05-23 20:21:49 +02:00
Thomas Edvalson
b0b46b7133 Make uniform matrix pointers const 2016-05-23 13:43:48 -04:00
fincs
d0f8988237 Merge pull request #7 from Cruel/texture-formats
Add ETC1 and ETC1A4 texture support
2016-05-03 12:36:14 +02:00
Thomas Edvalson
909bfc9174 Add ETC1 and ETC1A4 texture support 2016-05-03 02:41:05 -04:00
fincs
2cc0a08268 Add missing texture formats to fmtSize (fix #6) 2016-04-04 00:10:06 +02:00
fincs
a37648f42f Add renderqueue-safe versions of GX_DisplayTransfer/TextureCopy/MemoryFill 2016-03-26 00:30:43 +01:00
fincs
806bf123a3 C3D_RenderTargetSetClear: Allow modification when drawOk = false 2016-03-25 23:42:58 +01:00
fincs
5c4642cd22 Fix #5 (lut_RR never getting updated) 2016-03-25 23:42:15 +01:00
fincs
7d42b57289 Fix Mtx_RotateX/Z to use standard mathematical convention (positive=CCW) 2016-01-27 21:25:21 +01:00
fincs
1e9e8ead11 Fix integer and boolean uniforms 2016-01-24 01:45:39 +01:00
fincs
b276d8cec2 Fix APT suspend with renderqueues 2016-01-22 00:06:15 +01:00
fincs
ba8656044f Fix Mtx_OrthoTilt: near/far were swapped 2016-01-20 16:06:46 +01:00
fincs
7e30059573 Add C3D_ImmDrawRestartPrim 2016-01-19 22:33:04 +01:00
fincs
184fad0623 Add C3D_GetCmdBufUsage 2016-01-19 22:32:55 +01:00
fincs
4e2075f378 Fix race condition in C3Di_RenderQueueExit 2016-01-16 12:52:13 +01:00
fincs
1358ca3e7c Bump version to v1.1.0 2016-01-06 19:54:36 +01:00
fincs
39a71a5fbf Implement render queue system 2016-01-05 17:30:05 +01:00
fincs
f74c7b19ed Examples have been moved to https://github.com/devkitPro/3ds-examples 2015-12-24 12:42:45 +01:00
fincs
e70d9fbfbf Forgot to update a Makefile 2015-12-05 22:28:00 +01:00
fincs
bb959f4612 Add README.md 2015-12-05 22:28:00 +01:00
fincs
fba59fac26 Update Makefiles in preparation for devkitARM r45 2015-12-05 22:28:00 +01:00
fincs
c4840854f1 Add geoshader example 2015-12-05 22:27:45 +01:00
fincs
413cfe004f Clear up random register writes in array/element/immediate drawing 2015-12-05 14:26:21 +01:00
fincs
959f250f4e Add C3D_BoolUnifSet, correct int/bool uniform IDs 2015-12-05 14:23:54 +01:00
fincs
7c48f9106f Adapt to latest GPU register name changes 2015-12-05 13:31:24 +01:00
fincs
2692ea5e7d Let libctru manage output attribute clock enable 2015-12-01 13:31:42 +01:00
fincs
43bdd7e339 Adapt to latest GPU register name changes 2015-12-01 13:01:16 +01:00
fincs
c188bcf5df Add C3D_VideoSync() 2015-11-28 16:41:20 +01:00
fincs
ae4d9aba93 Generalize C3D_FVUnifMtx to support 2x4, 3x4 and 4x4 matrices 2015-11-28 16:25:23 +01:00
fincs
4814f804c6 Add missing fragment lighting functionality 2015-11-28 15:56:20 +01:00
fincs
912e9b152c Refactor renderbuffer code to create and use texture objects 2015-11-28 15:53:06 +01:00
fincs
209de933de Add C3D_TexInitVRAM 2015-11-28 15:51:07 +01:00
fincs
1fec391865 Correct C3D_SetScissor 2015-11-26 23:54:06 +01:00
fincs
cd39c3b8d1 Improve and correct support for light distance attenuation 2015-11-26 12:28:09 +01:00
fincs
b7daa13f59 Automatically select a suitable light environment layer 2015-11-26 12:18:44 +01:00
fincs
497a4ff9b7 Add C3D_ColorLogicOp and C3D_FragOpMode 2015-11-25 22:02:16 +01:00
fincs
8992e6fd18 Actually implement fixed vertex attribute support 2015-11-22 17:47:33 +01:00
fincs
d93987403a Add support for immediate mode & fixed vertex attributes w/ example 2015-11-22 17:28:33 +01:00
fincs
ff11cc9f67 Fix typo in C3D_UpdateUniforms that broke FVec uniform management 2015-11-22 13:48:11 +01:00
fincs
a39ca9971d Remove old VBO/IBO code 2015-11-22 12:30:51 +01:00
fincs
200858cf22 Several updates to the examples, see details:
- Makefiles updated to the latest great-refactor template Makefile
- Optimization in textured_cube's vertex shader
- Now using osGet3DSliderState()
- Add simple_tri example
2015-11-21 01:30:51 +01:00
fincs
dfad81b53c Implement proper shader program DVLE constant management 2015-11-21 01:02:25 +01:00
fincs
ca410a80ac Adapt to latest changes in great-refactor 2015-11-20 17:25:50 +01:00
fincs
be1038ee53 Update Makefile and add dist & install rules 2015-11-20 17:25:31 +01:00
fincs
bd913bb93e Adapt to latest changes in great-refactor 2015-11-11 21:50:43 +01:00
fincs
d1f93d99bb Fix typo in lightenv.c 2015-11-09 00:08:51 +01:00
fincs
87ad8f11e0 Add fragment lighting example 2015-09-23 15:44:27 +02:00
fincs
6c4836397b Some tweaks in renderbuffer handling 2015-09-20 14:04:50 +02:00