Commit Graph

1372 Commits

Author SHA1 Message Date
Branimir Karadžić
f1a8c5f195 Cleanup. 2016-09-27 22:07:53 -07:00
Branimir Karadžić
84e4a66c96 Cleanup. 2016-09-27 18:11:41 -07:00
Branimir Karadžić
ab021e0724 Cleanup. Issue #929. 2016-09-25 11:25:11 -07:00
Branimir Karadžić
483d31473f Fixed picking example. Issue #929. 2016-09-24 15:31:38 -07:00
Branimir Karadžić
50d867bbc2 Added limits info to caps. 2016-09-24 00:29:59 -07:00
Branimir Karadžić
44de6fb789 Cleanup. 2016-09-08 22:03:42 -07:00
Branimir Karadžić
374fe6f845 Updated NanoVG. 2016-09-08 21:19:47 -07:00
Branimir Karadžić
813d145ac9 GLFW: Fixed exit. 2016-09-06 23:07:11 -07:00
Branimir Karadžić
b49fb810ff Fixed issue #902. 2016-09-06 19:13:13 -07:00
Camilla Berglund
8b4f495225 GLFW: Lowered CPU use. 2016-09-05 21:41:03 +02:00
Camilla Berglund
3429fff1ba GLFW: Implemented full GLFW backend. 2016-09-05 21:41:02 +02:00
Branimir Karadžić
f9486780c2 Updated NaCl toolchain to v49. 2016-09-02 21:25:01 -07:00
Branimir Karadžić
0ba8b1895b Cleanup. 2016-09-02 19:49:01 -07:00
Branimir Karadžić
687e4103fe Added gizmo hook. 2016-08-29 22:31:30 -07:00
Branimir Karadžić
79ef46e4cf Fixed issue #890. 2016-08-26 09:01:49 -07:00
Branimir Karadžić
df88bc2106 Cleanup. 2016-08-22 19:42:38 -07:00
Branimir Karadžić
8809a190ef Fixed calcTextureSize. 2016-08-22 14:17:08 -07:00
Branimir Karadžić
7f4b9165f1 Cleanup. 2016-08-21 14:05:36 -07:00
Branimir Karadžić
7537b705e5 GL: Added support for texture array. 2016-08-21 14:03:16 -07:00
Branimir Karadžić
c98be90bf5 WIP: Texture array support. 2016-08-19 21:05:37 -07:00
Branimir Karadžić
3ac8943e05 Removed PlatformData helpers. 2016-08-17 20:41:09 -07:00
Branimir Karadžić
939829f88c Moved SDL and GLFW window platform hooks to entry. 2016-08-16 22:22:39 -07:00
Branimir Karadžić
a488207c81 Cleanup. 2016-08-10 21:51:29 -07:00
Branimir Karadžić
2c861766e8 Switch iffy translation code to lookup table translation. 2016-08-10 20:36:21 -07:00
Olli Wang
1804ba77c1 Updates nanovg to support global composite operation. (#877)
This commit updates bgfx's NanoVG codebase to adapt the latest NanoVG commit since I've implemented blending support for the original NanoVG and there is no need of `nvgState()` anymore.
2016-08-10 20:15:31 -07:00
Branimir Karadžić
9f7386e53a Rebuilt NanoVG embedded shader. 2016-08-10 10:59:07 -07:00
Branimir Karadžić
d7026e8f0c Reverted embedded shader. 2016-08-09 22:54:18 -07:00
Olli Wang
b9810aca70 Updates nanovg backend to adopt premultiplied alpha. (#873)
This commit updates nanovg's bgfx backend to adopt premultiplied alpha as the default blending mode just like the original nanovg. Both the fragment shader and the `glnvg__convertPaint()` function are updated to match the original nanovg counterpart.

However, the binary file of the fragment shader is built on Mac so DirectX support is missing.
2016-08-09 22:44:04 -07:00
Branimir Karadžić
dd0d563417 Fixed build. 2016-08-08 16:33:17 -07:00
Branimir Karadžić
b4cb6a352e Fixed clang4 error. 2016-08-08 13:17:07 -07:00
Branimir Karadžić
c25a273e29 Cleanup. 2016-08-08 09:23:42 -07:00
Olli Wang
f11d954bc1 Implements nanovg's framebuffer helper functions. (#869)
This commit ports nanovg's helper functions for rendering stuff in framebuffer defined in `nanovg_gl_utils.h`. Also, a new `nvgState()` function is created for bgfx backend so it is possible to blend between framebuffers, which feature is long requested but not yet supported in original nanovg. The `nvgState()` function can be called between `nvgBeginFrame()` and `nvgEndFrame()`.
2016-08-08 08:33:37 -07:00
Olli Wang
fa73aa4b09 Adds iOS device's Retina screen support for nanovg. (#865)
This commit fixes the bug that the bgfx does not respect the `devicePixelRatio` parameter passed to nanovg's `nvgBeginFrame()` function. The problem is caused by the `bgfx::setViewRect()` call defined in the `nvgRenderViewport()` function, as it should take size in consideration of the `devicePixelRatio` value.

However, this commit does not fix nanovg's example app because currently there is no easy way to pass the scale value to the `ExampleNanoVG::update()` method as it calls `nvgBeginFrame()`.
2016-08-05 09:50:02 -07:00
Olli Wang
c960c46564 Moves additional bgfx nanovg functions to a separate header file.
This commit moves the additional nanovg functions for bgfx to a separate header file, so it is possible to compile the original nanovg  source files with bgfx in a custom build environment.
2016-08-05 17:26:06 +08:00
Branimir Karadžić
4fbf1c0ca2 Cleanup. 2016-07-25 19:09:52 -07:00
Branimir Karadžić
4744a44880 Cleanup. 2016-07-24 19:49:27 -07:00
Branimir Karadžić
972a8c029e Cleanup. 2016-07-24 17:17:12 -07:00
Branimir Karadžić
11e66f2383 Cleanup. 2016-07-24 16:45:34 -07:00
Branimir Karadžić
6c767eed9c Cleanup. 2016-07-24 16:18:26 -07:00
Branimir Karadžić
6cd0d95adb Renamed example to shorter name. 2016-07-24 16:08:59 -07:00
Branimir Karadžić
09e791be03 Rebuilt shaders. 2016-07-24 16:07:09 -07:00
Branimir Karadžić
5b3c9609cb Cleanup. 2016-07-24 15:50:42 -07:00
jcherlin
f56cf4c88e Added RSM sample. (#854)
* Added RSM sample.
2016-07-24 15:39:50 -07:00
Branimir Karadžić
ce878f9180 Renaming float4_t to simd128_t. 2016-07-18 19:03:25 -07:00
Branimir Karadžić
894e2d77b6 Rebuilt shaders. 2016-07-16 08:25:02 -07:00
cancel
e34fdb4893 Fix issues with example 18-ibl's shaders.
Change vs_ibl_skybox.sc to correctly use radians instead of degrees when
specifying field-of-view. Additionally, use u_viewRect to find the correct
aspect ratio of the viewport, instead of hard-coding to 4/3.

Change fs_ibl_skybox.sc, fixing a number of small issues and mistakes. These
mistakes would lead to incorrect lighting results, especially with metallic
materials at glancing angles.

This commit does not include the rebuilt .bin output of shaderc for these
shaders.
2016-07-16 17:05:15 +09:00
Branimir Karadžić
c97f6c41c4 Cleanup. 2016-07-10 23:41:56 -07:00
Branimir Karadžić
37e233578a Cleanup. 2016-07-10 20:20:50 -07:00
Branimir Karadžić
0144de56bf Cleanup. 2016-07-10 11:32:20 -07:00
Branimir Karadžić
860c20686e Cleanup. 2016-07-10 11:10:44 -07:00
Branimir Karadžić
37e2d8bb67 Fixed build error. 2016-07-10 00:10:57 -07:00
Branimir Karadžić
6c238615ec Added missing screenshot. 2016-07-10 00:04:09 -07:00
Branimir Karadžić
ce0f05bf57 Cleanup. 2016-07-09 23:42:03 -07:00
Branimir Karadžić
a8ffb3650f Added binary shaders for 30-picking example. 2016-07-09 23:41:52 -07:00
jcherlin
f04755f9a3 Mouse Picking Example (#846)
* Added mouse picking example.
2016-07-09 23:41:38 -07:00
Jean-François Verdon
3bdeea1f4b Android mouse event injection is overcomplicated, and furthemore, bugged: it sends a mouse up event before a mouse down, and have other issues like the fact that he work with one event latter. Simplifying it and correcting it. 2016-07-04 01:55:20 +02:00
Jean-François Verdon
a9a7cbb86c Mouse clicks should update mouse position too 2016-07-04 01:42:44 +02:00
Branimir Karadžić
4b26830fc1 shaderc: Allow shader without color target write. 2016-07-01 20:38:12 -07:00
Lunkhound
c066ca0d62 Fix out-of-bounds array access (was asserting in example-10-font, debug build) 2016-07-01 18:03:39 -07:00
attilaz
317bcb0ea9 metal fixes (#827) 2016-06-28 09:06:21 -07:00
Branimir Karadžić
916a64e83c Updated shaders. 2016-06-27 23:26:43 -07:00
Dario
c9a84bd542 18-ibl fixes. (#824)
* Fixing issue #817.

* Fixing env matrix for IBL.
2016-06-27 08:54:29 -07:00
Branimir Karadžić
d2c6c79551 debugdraw: Added solid fill alpha blend. 2016-06-24 20:39:58 -07:00
Branimir Karadžić
9c84ef8cf7 Fixed issue #815. 2016-06-22 19:53:04 -07:00
Branimir Karadžić
2ca46b06f8 Cleanup. 2016-06-19 22:00:24 -07:00
Branimir Karadžić
4a6afd04b5 debugdraw: Added axis thickness. 2016-06-15 20:28:54 -07:00
Branimir Karadžić
c8b27d93db Cleanup. 2016-06-15 17:34:59 -07:00
Branimir Karadžić
87c7206900 Cleanup. 2016-06-15 12:58:36 -07:00
Branimir Karadžić
e50bda7818 Cleanup. 2016-06-15 09:33:11 -07:00
Branimir Karadžić
6e1d39b92a debugdraw: Cone & cylinder fill. 2016-06-14 22:33:37 -07:00
Branimir Karadžić
eacd978cf1 Cleanup. 2016-06-05 21:36:58 -07:00
Branimir Karadžić
e46135da8c Added ability to programmatically capture frame with RenderDoc. 2016-06-02 18:46:43 -07:00
Branimir Karadžić
21518f201f texturec: Preserve precision of input texture. 2016-06-02 16:38:26 -07:00
Branimir Karadžić
53e70f3424 Added 16-bit per channel PNG support. 2016-05-31 17:45:58 -07:00
Branimir Karadžić
ddfb525931 Made old & new imgui cohabitate. 2016-05-28 20:52:18 -07:00
Branimir Karadžić
58156ea4e8 Cleanup. 2016-05-28 17:14:19 -07:00
Branimir Karadžić
dda0de635e Switched to Roboto font. Added mono font. 2016-05-28 16:26:19 -07:00
Branimir Karadžić
3dd6bc237b Added icon fonts to ImGui. 2016-05-28 12:12:59 -07:00
Branimir Karadžić
b37e9f53ad Cleanup. 2016-05-27 20:27:31 -07:00
Branimir Karadžić
71afc178c8 Cleanup. 2016-05-26 21:12:47 -07:00
Branimir Karadžić
10b9d079bf Cleanup. 2016-05-22 17:20:27 -07:00
Sami Kyöstilä
516e287f24 Make it possible to reset the native window (#796)
On Android when the application goes into the background, the EGL
window surface becomes invalid. It is possible to resume rendering when
coming to the foreground by resetting and reinitializing bgfx from
scratch, but this is costly in terms of performance.

This patch provides an alternative by letting the application provide a
new native window, causing bgfx to recreate just the EGL window surface
while keeping the EGL context intact. This allows the application to
resume rendering without needing to reload textures, shaders, etc.

To test, build and run the Hello World example on Android, switch to
another app and then back again. The screen should not remain blank
after switching back.
2016-05-22 17:16:25 -07:00
Branimir Karadžić
910cc76191 Added alpha test texture. 2016-05-19 13:27:45 -07:00
Branimir Karadžić
4adecab397 Cleanup. 2016-05-15 09:02:25 -07:00
Mikulas Florek
16c73cd71b waitRender and waitSubmit in the stats 2016-05-15 17:27:13 +02:00
Branimir Karadžić
9cc3997795 Cleanup. 2016-05-12 09:42:44 -07:00
Branimir Karadžić
5b5d7c999d Cleanup. 2016-05-11 17:02:41 -07:00
Branimir Karadžić
556acae191 Added Doug Binks' ImGui color scheme. 2016-05-11 07:44:13 -07:00
Branimir Karadžić
57fccfe497 Cleanup. 2016-05-09 21:32:51 -07:00
Branimir Karadžić
6af3a7c952 Switched texture assets build to ninja. 2016-05-07 14:19:56 -07:00
Branimir Karadžić
3b61978c7a Cleanup. 2016-05-06 21:35:23 -07:00
Branimir Karadžić
071912b2d2 Fixed MSVC L4 warnings. 2016-05-06 21:29:47 -07:00
Branimir Karadžić
537c70965d Switched mesh assets build to ninja. 2016-05-06 20:44:21 -07:00
Branimir Karadžić
a6397f94b7 Renamed CX specific file to use .cx extension. 2016-04-25 19:17:42 -07:00
Branimir Karadžić
196a64d242 Cleanup. 2016-04-24 15:32:51 -07:00
Dario Manesku
59a71ca445 Entry_sdl key input changes. 2016-04-24 23:20:23 +02:00
Dario Manesku
5737270dbc Resolving some name collision. Mouse constructor was not being called. With this rename it works as expected. 2016-04-24 23:18:27 +02:00
Branimir Karadžić
321173961c texturev: Added help menu. 2016-04-24 08:49:49 -07:00
Branimir Karadžić
45f08a3066 SDL: Updated scancodes. 2016-04-23 17:47:36 -07:00
Branimir Karadžić
d2579168dc SDL: Fixed Escape key. 2016-04-23 17:06:24 -07:00
Branimir Karadžić
9379b05a57 SDL: Updated scancodes. 2016-04-23 16:55:51 -07:00
Branimir Karadžić
a94089e29f Added simple texture viewer tool. 2016-04-21 22:12:35 -07:00
Dario Manesku
e759e55fd2 Fixing a memory overflow that caused the camera to move right all the time. 2016-04-21 19:51:08 +02:00
Branimir Karadžić
447610b308 Fixed issue #764. 2016-04-19 20:31:37 -07:00
Branimir Karadžić
e1a60b808d Cleanup. 2016-04-18 09:35:53 -07:00
Dario Manesku
89a868ba29 Capture SDL modifier keys even if no other keys are pressed. 2016-04-15 01:59:33 +02:00
Branimir Karadžić
641d294b9d Cleanup. 2016-04-08 17:30:35 -07:00
Branimir Karadžić
931c6ed0f6 debugdraw: Added cylinder. 2016-04-06 22:21:46 -07:00
Branimir Karadžić
3d81ae8219 Updated shaders. 2016-04-06 20:24:52 -07:00
Branimir Karadžić
3eda14fac5 Cleanup. 2016-04-05 19:33:05 -07:00
Branimir Karadžić
6f3acfcedd Cleanup. 2016-04-05 19:31:53 -07:00
Branimir Karadžić
17aaf3abca Cleanup. 2016-04-05 17:40:03 -07:00
Branimir Karadžić
bd6ecc19e4 debugdraw: Added cone. 2016-04-05 17:10:48 -07:00
Branimir Karadžić
744051643f debugdraw: Fixed state. 2016-04-05 15:31:32 -07:00
Krzysztof Kondrak
76a46af418 use separate projection matrices for left/right eyes in HMD demos 2016-04-04 21:29:36 +02:00
Krzysztof Kondrak
bea6e81d12 OculusVR: updated to SDK 1.3 2016-04-02 11:41:40 +02:00
Branimir Karadžić
ea613785e4 Cleanup. 2016-04-01 22:51:35 -07:00
Branimir Karadžić
be9f93473d Cleanup. 2016-04-01 22:48:57 -07:00
Branimir Karadžić
4e12ff7274 Cleanup. 2016-04-01 21:49:06 -07:00
Branimir Karadžić
bac219debc Added example-29-debugdraw. 2016-03-27 18:40:03 -07:00
Branimir Karadžić
f2026d87da Cleanup. 2016-03-24 16:16:56 -07:00
Branimir Karadžić
9d2648be32 Added normalmap test texture. 2016-03-23 20:00:30 -07:00
Branimir Karadžić
8955ebc6c8 Added alpha to coverage and anti-aliased lines support. 2016-03-16 15:09:15 -07:00
Branimir Karadžić
662716a6ac Cleanup. 2016-03-13 14:28:04 -07:00
Branimir Karadžić
5c0874f82f Cleanup. 2016-03-06 16:24:35 -08:00
Branimir Karadžić
086285a3e2 Cleanup. 2016-03-06 15:29:22 -08:00
Branimir Karadžić
6c13efba04 Cleanup. 2016-03-06 15:09:17 -08:00
Branimir Karadžić
9edede219e Cleanup. 2016-03-06 15:07:35 -08:00
Branimir Karadžić
db64e34681 Cleanup. 2016-03-06 14:59:14 -08:00
Branimir Karadžić
cd81ab9b99 Cleanup. 2016-03-06 14:56:09 -08:00
Branimir Karadžić
67d36dc9a9 Debug draw: Added squircle shape. 2016-03-06 00:07:20 -08:00
Branimir Karadžić
35a30c3135 Cleanup. 2016-03-05 11:38:32 -08:00
Branimir Karadžić
2b77088a38 Cleanup. 2016-03-05 11:03:52 -08:00
Branimir Karadžić
016d403644 Cleanup. 2016-03-02 23:09:45 -08:00
Branimir Karadžić
a78a620c15 Cleanup. 2016-03-02 18:09:36 -08:00
Branimir Karadžić
e60d5532aa Cleanup. 2016-03-01 20:31:15 -08:00
Branimir Karadžić
002789eef6 Fixed vecX_splat to catch errors. 2016-03-01 08:38:46 -08:00
Branimir Karadžić
484b1f5199 Fixed 28-wireframe shader. 2016-03-01 08:24:58 -08:00
Branimir Karadžić
60319d0c52 Updated screenshots. 2016-02-29 20:57:45 -08:00
Branimir Karadžić
6dc6bff66d SDL: Addded tilde key. 2016-02-29 20:46:27 -08:00
Branimir Karadžić
861a63bf2e Updated makefiles. 2016-02-29 19:58:17 -08:00
Branimir Karadžić
e8a0e69097 Cleanup. 2016-02-29 11:43:09 -08:00
Branimir Karadžić
c691521563 Added preserve state flag. 2016-02-29 11:24:14 -08:00
Branimir Karadžić
3c7cb7a038 Cleanup. 2016-02-29 00:02:56 -08:00
Branimir Karadžić
8121a08ea7 Cleanup. 2016-02-28 22:28:50 -08:00
Branimir Karadžić
87b640253e Metal: Updated shaders. 2016-02-28 22:05:59 -08:00
Branimir Karadžić
4752d567e4 Cleanup. 2016-02-28 19:52:15 -08:00
Branimir Karadžić
689a39c7fa Cleanup. 2016-02-28 18:20:18 -08:00
Branimir Karadžić
d19391a8fe Updated screenshots. 2016-02-28 17:11:21 -08:00
Branimir Karadžić
f70e85cfb5 Rebuilt shaders. 2016-02-28 16:35:11 -08:00
Branimir Karadžić
5eea8b7ff3 Merge branch 'master' of cane:bkaradzic/bgfx 2016-02-28 16:34:36 -08:00
Branimir Karadžić
8d0da375e6 Merge pull request #702 from dariomanesku/wf
Fixing wireframe opacity. Winding seems to be flipped.
2016-02-28 16:36:20 -08:00
Branimir Karadžić
9cc308cb11 Cleanup. 2016-02-28 16:34:23 -08:00
Dario Manesku
49bc9dccea Fixing wireframe opacity. Winding seems to be flipped. 2016-02-29 01:34:16 +01:00
Dario Manesku
a079ee53ef Redone 18-ibl example. It's now using textures that are filtered with cmft. 2016-02-29 01:15:12 +01:00
Branimir Karadžić
e4dc2bc02c Rebuilt shaders. 2016-02-28 16:14:05 -08:00
Branimir Karadžić
6159afd0d3 Merge pull request #701 from dariomanesku/wf
28-wireframe, geometryc with barycentric and 18-ibl redone with cmft-filtered textures.
2016-02-28 16:19:22 -08:00
Dario Manesku
7b2752c450 Added 28-wireframe. Geometryc now has --barycentric feature. Example meshes updated. Commit has only glsl shaders. 2016-02-29 01:06:39 +01:00
Branimir Karadžić
46b1b1b885 Cleanup. 2016-02-26 20:09:13 -08:00
Branimir Karadžić
7b08b5127c Added missing file. 2016-02-26 11:40:40 -08:00
Dario Manesku
1a4c308ba5 Added missing include. 2016-02-26 08:01:08 +01:00
Branimir Karadžić
89a87a5f8d Cleanup. 2016-02-25 22:41:28 -08:00
Branimir Karadžić
dbb697b56e Debug draw. 2016-02-25 22:20:24 -08:00
Branimir Karadžić
ae778b06df Merge branch 'master' of github.com:bkaradzic/bgfx 2016-02-25 20:29:20 -08:00
Branimir Karadžić
b7f8a8cdb5 Cleanup. 2016-02-25 20:29:09 -08:00
Branimir Karadžić
82b640e71c 27-terrain: Fixed crash at exit. 2016-02-24 21:23:45 -08:00
Branimir Karadžić
d4d4d41e42 Exposed topology API. 2016-02-23 15:30:25 -08:00
Branimir Karadžić
6fd77942ac Cleanup. 2016-02-21 22:33:42 -08:00
Branimir Karadžić
dc46b1a36b Cleanup. 2016-02-21 13:59:38 -08:00
Branimir Karadžić
5fb313a6b1 Added calcPlaneUv. 2016-02-21 12:57:55 -08:00
Branimir Karadžić
b2405e5221 Cleanup. 2016-02-16 20:38:59 -08:00
Jean-François Verdon
b72300d3ab Using char* as key for unordered_map can lead to unexpected behavior (the hash used for the key is computed using pointer address, not string content) 2016-02-16 15:00:07 +01:00
Branimir Karadžić
459e211a26 Added framebuffer attachment. 2016-02-15 16:55:32 -08:00
Miodrag Milanovic
c0275c3a77 SteamLink support 2016-02-15 19:45:58 +01:00
Branimir Karadžić
db37bd1bcd Added icon font headers. 2016-02-10 22:37:09 -08:00
Branimir Karadžić
4707ebe8ef Added function for building frustum planes from view projection matrix. 2016-02-10 21:02:00 -08:00
Branimir Karadžić
608e038b96 Manually merged PR #676. 2016-02-08 12:53:19 -08:00
Branimir Karadžić
728a8ee4e5 NanoVG: Added ability to pass custom allocator. 2016-02-07 18:58:17 -08:00
Branimir Karadžić
1183d9e337 Fixed mesh loading. 2016-02-06 13:41:58 -08:00
Branimir Karadžić
55e72a2dd1 SDL: Fixed crash when loading gamecontrollerdb. 2016-02-04 22:54:40 -08:00
Branimir Karadžić
60f068c648 Cleanup. 2016-02-04 21:46:12 -08:00
Branimir Karadžić
e9c51f9fdb Cleanup. 2016-02-01 20:20:17 -08:00
Branimir Karadžić
ed061b62fc Fixed example. PR #671. 2016-01-31 20:38:14 -08:00
Branimir Karadžić
016bfc4290 Improved reader/writer error handling. 2016-01-31 16:00:02 -08:00
Branimir Karadžić
a972d1fef0 Tools cleanup. 2016-01-30 16:15:25 -08:00
Branimir Karadžić
3552ad873a Fixed #666. 2016-01-25 12:38:58 -08:00
Branimir Karadžić
2063dac676 Merge branch 'master' of github.com:bkaradzic/bgfx 2016-01-25 09:26:44 -08:00
Branimir Karadžić
6af72ce686 nanovg: Allow texture update after creation. 2016-01-25 09:26:14 -08:00
Branimir Karadžić
3126ed79f1 Fixed Linux build. 2016-01-24 22:35:49 -08:00
Branimir Karadžić
c63b61870a SDL: Added joystick handling. 2016-01-24 22:17:49 -08:00
Branimir Karadžić
008bc72d6f SDL: Updated controllerdb. 2016-01-23 21:07:44 -08:00
Branimir Karadžić
1b7375df6c entry/x11: Fixed dpad. 2016-01-23 17:09:28 -08:00
Lunkhound
6f9a9278ec removed z coord adjustment in shadow2D() shader builtin for HLSL versions 2016-01-17 23:05:40 -08:00
Branimir Karadžić
86a38a0160 SteamLink defines. 2016-01-16 00:11:38 -08:00
Lunkhound
b655ee94ae shadowmaps_simple: fix OGL shadow camera volume 2016-01-15 14:54:56 -08:00
Branimir Karadžić
7a686ee6f0 Merge pull request #655 from dariomanesku/shadowmaps
Fixing a D3D11 warning.
2016-01-14 22:42:17 -08:00
Dario Manesku
deda5e241e Fixing a D3D11 warning. Shadow maps now get submitted only when necessary. 2016-01-15 07:34:48 +01:00
Branimir Karadžić
fbace33048 Renamed BGFX_TEXTURE_RT_BUFFER_ONLY to more descriptive BGFX_TEXTURE_RT_WRITE_ONLY. 2016-01-12 17:11:16 -08:00
Branimir Karadžić
ab9a0c12b0 Cleanup. 2016-01-12 13:20:07 -08:00
Branimir Karadžić
faec80b8f9 shaderlib: Added ACES filmic tone mapping curve. 2016-01-06 21:08:09 -08:00