bjorn
|
724e0dd6eb
|
Shader arrays;
|
2016-12-30 11:57:15 -08:00 |
|
bjorn
|
83fb958ac0
|
Simplify rotations;
|
2016-12-01 17:32:58 -08:00 |
|
bjorn
|
b7d1b1e5dc
|
Style;
|
2016-11-30 20:32:14 -08:00 |
|
bjorn
|
40eeeabcff
|
Optimize matrix stack;
|
2016-11-27 10:57:36 -08:00 |
|
bjorn
|
cf6c862aaa
|
TextureType;
|
2016-11-27 10:34:22 -08:00 |
|
bjorn
|
d44cbfa5e7
|
Clean up textures;
|
2016-11-27 02:06:47 -08:00 |
|
bjorn
|
9b0712bb66
|
Add default texture;
|
2016-11-26 18:58:58 -08:00 |
|
bjorn
|
006221b7fd
|
TextureData;
|
2016-11-25 23:54:45 -08:00 |
|
bjorn
|
3d18eb99e6
|
Refactor model loader;
|
2016-11-25 23:15:04 -08:00 |
|
bjorn
|
316893d132
|
Start loaders directory;
|
2016-11-25 17:13:26 -08:00 |
|
bjorn
|
9602a3af2f
|
ModelFace always has 3 indices;
|
2016-11-25 03:16:11 -08:00 |
|
bjorn
|
83af2cacd7
|
Fix Model texture binding;
|
2016-11-25 03:15:13 -08:00 |
|
bjorn
|
7ce7c589bb
|
Fix naming error in buffer format;
|
2016-11-25 03:14:48 -08:00 |
|
bjorn
|
172ecbbd56
|
Refactor Model constructor;
|
2016-11-25 00:49:19 -08:00 |
|
bjorn
|
9f4a441bf1
|
Allow disabling of depth test;
|
2016-11-24 15:45:59 -08:00 |
|
bjorn
|
08d63ca19c
|
Model texture rendering;
|
2016-11-23 00:02:19 -08:00 |
|
bjorn
|
cbcaef4e77
|
Standardize shader uniforms;
All built in uniforms are prefixed with "lovr".
Added helper functions "position" and "color" to improve general use case.
This is a breaking change.
|
2016-11-22 22:17:49 -08:00 |
|
bjorn
|
a5fd7962f4
|
Organize lovr.graphics;
|
2016-11-22 21:16:13 -08:00 |
|
bjorn
|
f18ee761cd
|
lovr.graphics.setWireframe;
|
2016-11-22 21:07:33 -08:00 |
|
bjorn
|
15174b8299
|
lovr.graphics.setDepthTest;
|
2016-11-22 20:59:11 -08:00 |
|
bjorn
|
3d89338fec
|
lovr.graphics.triangle;
|
2016-11-22 20:43:22 -08:00 |
|
bjorn
|
87a49b1903
|
size->count;
|
2016-11-20 15:53:36 -08:00 |
|
bjorn
|
0eea694bdd
|
Small reference count fixes;
|
2016-11-19 18:26:10 -08:00 |
|
bjorn
|
d014daaa53
|
Fix texture reference counting;
|
2016-11-19 14:21:17 -08:00 |
|
bjorn
|
00656b928e
|
Buffer texture reference counting;
|
2016-11-19 14:14:42 -08:00 |
|
bjorn
|
c41204f876
|
Shader reference counting;
|
2016-11-19 14:06:41 -08:00 |
|
bjorn
|
a743cfd3b6
|
Initial reference counting system;
|
2016-11-19 13:33:40 -08:00 |
|
bjorn
|
7e4e9a6108
|
Clean up includes;
|
2016-11-19 01:28:01 -08:00 |
|
bjorn
|
3813e0b9ce
|
Increase max shader length;
|
2016-11-18 02:08:49 -08:00 |
|
bjorn
|
67b55ac7f6
|
Fix Shader memory leaks;
|
2016-11-18 02:08:36 -08:00 |
|
bjorn
|
3c2fc33f1c
|
Fix Model memory leaks;
|
2016-11-18 02:03:50 -08:00 |
|
bjorn
|
0ec31f3625
|
Texture:refresh;
|
2016-11-17 23:12:30 -08:00 |
|
bjorn
|
027c0db032
|
Fix BUFFER_INT access in shaders;
|
2016-11-17 23:11:58 -08:00 |
|
bjorn
|
7b81618198
|
BUFFER_INT;
|
2016-11-14 21:31:17 -08:00 |
|
bjorn
|
69ecfc550e
|
Optimize switching Buffer vertex maps a lot;
|
2016-11-14 15:56:05 -08:00 |
|
bjorn
|
954592d8bd
|
Refactor graphics state, especially shaders;
This should improve performance, if not then I have failed.
|
2016-11-14 15:48:17 -08:00 |
|
bjorn
|
06c71ed07c
|
Allow loading shaders from files;
The first argument is always the vertex shader.
The second argument is always the fragment shader.
|
2016-11-14 14:42:40 -08:00 |
|
bjorn
|
21aba100a1
|
Refactor lovr.graphics.getDimensions and friends;
|
2016-11-14 13:47:15 -08:00 |
|
bjorn
|
acde08228c
|
Bind texture after setting buffer;
The `buffer` field was not being initialized to 0, so sometimes
the texture was binding to the wrong target.
|
2016-11-14 01:00:06 -08:00 |
|
bjorn
|
daa942d932
|
Support BufferTextures;
|
2016-11-13 17:28:22 -08:00 |
|
bjorn
|
11f35763b7
|
Fix Buffer attribute indices;
|
2016-11-13 02:35:26 -08:00 |
|
bjorn
|
c0db50b6ae
|
Buffer:setVertices;
|
2016-11-12 23:18:53 -08:00 |
|
bjorn
|
11d96f1826
|
lovr.graphics.setPointSize;
|
2016-11-12 17:38:49 -08:00 |
|
bjorn
|
ffde873299
|
Oh no;
|
2016-11-12 15:20:04 -08:00 |
|
bjorn
|
811bf67071
|
Windows fixes;
|
2016-11-12 01:19:47 -08:00 |
|
bjorn
|
7550da44d8
|
Model textures;
|
2016-11-08 14:55:16 -08:00 |
|
bjorn
|
8267733a42
|
Texture filters;
|
2016-11-08 14:55:16 -08:00 |
|
bjorn
|
b69a7be1ba
|
Better malloc error handling;
|
2016-11-08 14:55:07 -08:00 |
|
bjorn
|
17601e237b
|
Buffer:getTexture; Buffer:setTexture;
|
2016-11-08 03:14:50 -08:00 |
|
bjorn
|
136d6b1da7
|
Texture; lovr.graphics.newTexture;
|
2016-11-08 03:14:33 -08:00 |
|