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 |
|
bjorn
|
a22b158b0c
|
Fix Buffer bug;
|
2016-11-08 03:13:32 -08:00 |
|
bjorn
|
49761a789a
|
Add loadImage to util;
|
2016-11-08 01:42:31 -08:00 |
|
bjorn
|
48ff1fa93c
|
lovr.graphics.points;
|
2016-11-07 23:16:33 -08:00 |
|
bjorn
|
91f46929fe
|
Normalize rotation axis vectors;
|
2016-11-07 22:03:13 -08:00 |
|
bjorn
|
fff1638414
|
Fix Skybox paths;
|
2016-11-05 16:17:29 -07:00 |
|
bjorn
|
5188e5d830
|
Fix Model paths;
|
2016-11-05 16:17:29 -07:00 |
|
bjorn
|
38c46106da
|
Model normals;
|
2016-11-01 21:52:32 -07:00 |
|
bjorn
|
45d4029f6a
|
Math is hard;
|
2016-11-01 21:52:19 -07:00 |
|
bjorn
|
93c13c8593
|
Model.draw transform;
|
2016-11-01 20:56:29 -07:00 |
|
bjorn
|
94a9c0e8cb
|
lovrGraphicsTransform;
|
2016-11-01 20:48:04 -07:00 |
|
bjorn
|
7c5a9585fd
|
Clean up Model better;
|
2016-10-31 17:35:43 -07:00 |
|
bjorn
|
fb6c1c28ed
|
Model;
|
2016-10-31 13:54:32 -07:00 |
|
bjorn
|
703b0c2af0
|
Skybox;
|
2016-10-24 15:02:23 -07:00 |
|
bjorn
|
125e2d0e13
|
Skybox rough draft;
|
2016-10-23 19:03:10 -07:00 |
|