bjorn
f4f95a64d7
Pass blends by default;
2022-08-25 22:01:12 -07:00
bjorn
78214988a4
Model only reskins when needed;
...
Saves a barriers when not animating models.
2022-08-25 21:59:10 -07:00
bjorn
ede1036694
Temporary Passes;
...
Sigh, back to getPass. I don't even know at this point. Basically now
that we came up with a half-solution for temp buffers, it makes sense to
apply this to passes as well, since we aren't going with the workstream
idea and temp passes are more convenient than retained passes.
2022-08-25 21:57:15 -07:00
bjorn
18413114ad
Fix depthClamp;
2022-08-24 03:09:09 -07:00
bjorn
d3c93634ad
Fix KTX1 cube/array loading;
2022-08-23 20:17:19 -07:00
bjorn
0496b81f23
Improve KTX1 error messages;
2022-08-23 20:16:58 -07:00
bjorn
b8df6f9651
Fix rg11b10f KTX1 loading, I think;
2022-08-23 20:15:36 -07:00
bjorn
1a809666ec
Fix loading KTX files with mipmaps;
...
Forgot to allocate memory for mipmaps.
2022-08-23 20:15:16 -07:00
bjorn
fcf64cb6e4
Pass:send supports tables;
2022-08-23 19:25:45 -07:00
bjorn
f45706f875
Change Buffer format 'name' to 'location' string;
...
Name is confusing because it seems like it supports key/value setting.
2022-08-23 19:17:54 -07:00
bjorn
1c48578e95
Fix automipmap synchronization;
2022-08-23 18:49:11 -07:00
bjorn
e4024d82c4
Improve error messages for invalid view index;
2022-08-23 18:18:44 -07:00
bjorn
8dfc67d59c
Add missing checks for automipmap transfer usage;
2022-08-23 18:17:38 -07:00
bjorn
a4241db04f
Add shorthand for procedural vertex rendering;
...
Instead of a vertex buffer, you can specify a vertex count.
2022-08-22 21:00:14 -07:00
bjorn
ebf049e9d1
Model:resetNodeTransforms;
2022-08-22 20:44:01 -07:00
bjorn
79cd7c10a1
Improve temporary buffers;
...
- They no longer live in temporary memory, but in a dedicated pool.
- There are error checks for using a temporary buffer after it's invalid
- However, these are imperfect, and could be improved. One idea is to
avoid recycling a temporary buffer until its refcount decays (i.e.
Lua finally decides to garbage collect it). This would explode
memory usage sometimes, so it could only be enabled when
t.graphics.debug is true.
2022-08-22 20:30:09 -07:00
bjorn
10252686aa
Fix typo;
2022-08-22 20:18:47 -07:00
bjorn
f914b6fcf1
Fix memory leak with shader cache;
2022-08-22 20:18:34 -07:00
bjorn
c524d2c4fc
tup: only use address sanitizer;
...
Undefined behavior sanitize hasn't been working in shared libraries and
it's annoying.
2022-08-22 20:18:07 -07:00
bjorn
8b83626051
Increase size of swapchain format array;
2022-08-20 11:03:14 -07:00
bjorn
dd5e89523d
Fix BC1/BC4 sizes;
2022-08-19 23:15:18 -07:00
bjorn
460ae0f6a0
Fix Pass:send('bool', bool);
2022-08-19 22:26:20 -07:00
bjorn
ba7bdd11c3
Fix index FieldType shorthand;
2022-08-19 20:51:50 -07:00
Josip Miskovic
6ba902ba1c
Fix SPV type conversion for vec
2022-08-19 20:10:58 -07:00
Josip Miskovic
fcc684ac28
Handle fullscreen fill without texture
2022-08-18 09:04:42 -07:00
Josip Miskovic
0cea42fb08
Fix default Image format
2022-08-18 09:04:42 -07:00
Josip Miskovic
11f2d052ef
Skybox view matrix includes local transform
2022-08-18 09:04:42 -07:00
bjorn
f515346e20
Rename CoordinateSpace;
...
It's now OriginType, and global -> root and local -> parent.
2022-08-17 22:33:43 -07:00
bjorn
f570ee980c
Add Model:getMaterialName;
2022-08-17 22:05:05 -07:00
bjorn
7087cef57f
Fix bug with Image -> Texture copies;
2022-08-17 18:09:12 -07:00
bjorn
3e8b1681df
Pass:mesh supports baseVertex;
2022-08-17 18:09:04 -07:00
bjorn
081afc3140
No more special-cased orthographic projection;
2022-08-17 18:08:38 -07:00
bjorn
817ed9f4e9
ModelData:getMeshIndex is 1-based;
2022-08-17 18:08:26 -07:00
bjorn
8bbff5dd77
lovr.graphics.present idempotence;
2022-08-14 12:02:51 -07:00
bjorn
51312f4704
Add attachmentCount/defaultPointSize specialization constants;
2022-08-14 09:43:00 -07:00
bjorn
74048a6345
Fix float specialization constants;
2022-08-14 09:42:54 -07:00
bjorn
6fa8b570da
Fix OpenXR usage of setBackground;
2022-08-13 21:21:17 -07:00
bjorn
5799b0effb
Rename setBackground back to setBackgroundColor;
...
The "fancy background" idea won't go here.
2022-08-13 21:10:58 -07:00
bjorn
6052ed7a95
Rename ModelData enums;
...
To better match graphics.
2022-08-13 21:10:03 -07:00
bjorn
2c4f5a13df
luax_readmesh supports Model again;
2022-08-13 21:09:33 -07:00
bjorn
f894c87723
Clamp roughness to .05;
2022-08-13 00:26:18 -07:00
bjorn
13f40a05c3
Update getPixel syntax for array textures;
...
vec3 is just kinda weird.
2022-08-13 00:00:00 -07:00
bjorn
507c02bfb1
Invert surface normal when backfacing;
2022-08-12 23:30:39 -07:00
bjorn
f679d602bd
Fix cone winding;
2022-08-12 23:30:33 -07:00
bjorn
d69ec7bff0
Default friction is infinity;
...
Re-apply bug behavior
2022-08-12 23:30:13 -07:00
bjorn
efdbc7f7ba
Fix equirect shader;
2022-08-12 22:46:59 -07:00
bjorn
401ec05d00
Fix Pass:send with textures/samplers;
2022-08-12 22:44:24 -07:00
bjorn
f6a1fbdfb9
Add new 'Constants' helper;
2022-08-12 22:44:18 -07:00
bjorn
b615de26d6
Add os_get_glfw_window;
...
So lovr-keyboard and lovr-mouse and friends can continue to work.
2022-08-12 21:09:40 -07:00
bjorn
3cbf85c98a
Adjust error screen font size and default perspective;
2022-08-12 21:08:25 -07:00