bjorn
7e1687ce6b
Fix Shader:sendImage;
2018-09-04 06:58:54 -07:00
bjorn
1b3e8c9766
Flip cubemap x texture coordinate;
2018-09-04 06:42:04 -07:00
bjorn
4e1757210e
Load cubemap images better;
2018-09-03 20:59:12 -07:00
bjorn
f17d57e987
Fix up problems with tracking incoherent resources;
2018-09-02 22:20:32 -07:00
bjorn
fbd294f76d
Empty textures default to linear instead of sRGB;
2018-09-02 21:15:59 -07:00
bjorn
2e881cbda0
Fix bad assert for image uniforms;
2018-09-02 21:15:43 -07:00
bjorn
3cc1b60fd8
Better default for anonymous texture depth;
2018-09-02 21:11:48 -07:00
bjorn
b29a2d0471
Rework fake headset driver inertia;
2018-09-01 20:29:17 -07:00
bjorn
7aedff1278
Fix srgb settings for model import;
2018-09-01 06:27:24 -07:00
bjorn
59280c4e9d
Fixes for compressed textures;
2018-09-01 05:40:45 -07:00
bjorn
064adef0bb
Transform:getMatrix accepts target table;
2018-09-01 02:52:16 -07:00
bjorn
b959c30424
lovrPoseMatrix;
2018-09-01 02:52:02 -07:00
bjorn
c584354c92
lovrInstanceID;
2018-09-01 02:09:59 -07:00
bjorn
8b9e9eba9e
Use GLSL 430 when available;
2018-09-01 01:57:38 -07:00
bjorn
ea331a12be
Fix bugs;
2018-08-31 23:24:59 -07:00
bjorn
4e61d2ea3b
Really icky conditional shader compilation;
...
But I can't think of another way to do it.
2018-08-31 19:52:03 -07:00
bjorn
d5c884b1d8
Fix emscripten warning;
2018-08-31 18:10:51 -07:00
bjorn
7b9a0ba048
Organize uniforms better;
2018-08-31 16:45:05 -07:00
bjorn
dca52ee967
Improve newCanvas API;
2018-08-31 16:37:30 -07:00
bjorn
a5256aaa27
Happy little graphics refactors;
2018-08-31 06:03:35 -07:00
bjorn
0ce6e046a6
lovrViewportCount; Multiply vertex divisors;
2018-08-31 02:41:50 -07:00
bjorn
f872a5f094
Re-enable threads for emscripten;
...
They don't appear to work very well but this simplifies code a lot.
2018-08-30 22:09:54 -07:00
bjorn
017066d45e
More emscripten stuff;
...
SwapInterval was removed to ensure RAF timing is used.
2018-08-30 21:58:00 -07:00
bjorn
7222d1fa26
Use same window hints for webgl and desktop;
...
It doesn't seem like this causes any problems anymore.
2018-08-30 21:43:30 -07:00
bjorn
7055875cfa
rm unnecessary emscripten ifdef for glfw context;
...
Now that the bug is fixed!
2018-08-30 21:40:31 -07:00
bjorn
b7faeb8c44
Add precision for ints;
2018-08-30 21:37:45 -07:00
bjorn
7e889a564a
Emscripten fixes;
2018-08-30 20:56:08 -07:00
bjorn
ab1651a1a0
Diff active texture;
2018-08-30 19:42:01 -07:00
bjorn
a8f9b899e0
Cleanup;
2018-08-30 19:40:31 -07:00
bjorn
04e119e413
Reduce size of default font;
...
It only supports the ISO8859-1 character set now.
2018-08-30 18:13:47 -07:00
bjorn
7c21d77a6e
rm singlepass conf flag; Viewports; getSupported.singlepass;
2018-08-30 04:02:58 -07:00
bjorn
5ab15e36a8
Declare extension before in;
2018-08-30 03:43:41 -07:00
bjorn
20faaf7479
ShaderBlock buffer bind fix;
2018-08-30 03:41:10 -07:00
bjorn
4631d2dacc
Test shader extension fallback;
2018-08-30 03:38:31 -07:00
bjorn
dd889a1c4a
Diff viewport state;
2018-08-30 03:25:16 -07:00
bjorn
e6a7a4f922
Redo singlepass;
2018-08-30 00:52:38 -07:00
bjorn
6058fbc5cd
Modify GL extensions;
...
- rm NV_stereo_view_rendering
- rm NV_viewport_array2
- add AMD_vertex_shader_viewport_index
2018-08-30 00:26:10 -07:00
bjorn
a97c8e2266
Fix skybox texture mapping;
2018-08-30 00:06:29 -07:00
bjorn
1f4fee9b28
Fix newTexture flags;
2018-08-29 21:45:08 -07:00
bjorn
58747d6673
Rebase;
2018-08-29 21:31:07 -07:00
bjorn
56821b3aba
lovrCanvasBlit works with MSAA;
2018-08-29 21:22:13 -07:00
bjorn
ce2dfb523e
Make window mono by default;
...
The window is now mono by default to make the error screen better and better enable non-stereo uses. The Camera can now request that the window be treated as stereo.
2018-08-29 21:22:13 -07:00
bjorn
e2d7310914
Fix sneaky MSAA bug;
2018-08-29 21:22:13 -07:00
bjorn
0dbdc78c87
Fix fake driver projection;
2018-08-29 21:22:13 -07:00
bjorn
4215ea2e24
Canvas getters;
2018-08-29 21:22:13 -07:00
bjorn
3c78eae42b
Fix interaction between mipmaps/msaa resolution;
2018-08-29 21:22:12 -07:00
bjorn
e287cee1c9
Canvas:newTextureData;
2018-08-29 21:22:12 -07:00
bjorn
74fec01e60
Canvas mipmaps flag;
2018-08-29 21:22:12 -07:00
bjorn
06fa846680
Resolve supports multiple color attachments;
2018-08-29 21:22:12 -07:00
bjorn
6104d3362e
OpenVR MSAA flags;
2018-08-29 21:22:12 -07:00