Commit graph

380 commits

Author SHA1 Message Date
bkaradzic
924cb614c2 Cleanup. 2014-01-13 21:48:42 -08:00
bkaradzic
881c598dc8 Resized screenshots. 2014-01-13 20:39:33 -08:00
bkaradzic
4061d19963 Updated screenshots. 2014-01-13 20:36:33 -08:00
bkaradzic
0ed2edc7b3 Updated shaders and README. 2014-01-13 20:17:56 -08:00
Dario Manesku
658552be7e Copyright dates updated. 2014-01-13 23:45:18 +01:00
Dario Manesku
098ef114d2 Added screenshots. 2014-01-13 22:16:09 +01:00
Dario Manesku
24d32d57d6 Trailing whitespaces removed. 2014-01-13 22:16:09 +01:00
Dario Manesku
6f5119a933 Added binary shaders. 2014-01-13 22:16:08 +01:00
Dario Manesku
5594e9af8c Added 15-shadowmaps-simple and 16-shadowmaps. 2014-01-13 22:16:07 +01:00
Dario Manesku
c01085856c Added packHalfFloat(). 2014-01-13 22:16:07 +01:00
Dario Manesku
530790970d Fixed cube mesh normals. 2014-01-13 22:16:06 +01:00
Dario Manesku
c827dad22a Added camera. 2014-01-13 22:16:00 +01:00
bkaradzic
1f228a172b Increased BGFX_CONFIG_MAX_DRAW_CALLS to 64K. 2014-01-12 21:43:47 -08:00
bkaradzic
7d61b3eafa Removed unused files. 2014-01-02 09:20:58 -08:00
bkaradzic
2e0952bbec Fixed GCC warning. 2013-12-29 15:03:51 -08:00
bkaradzic
d1117f34b5 Added support for different RT depth stencil formats. 2013-12-29 11:43:44 -08:00
bkaradzic
6005ebda2b Added platform name defines. 2013-12-24 21:30:28 -08:00
bkaradzic
a1294a4d5d Fixed MinGW64 compile errors. 2013-12-24 20:18:49 -08:00
bkaradzic
48a48d9bf5 Fixes for MinGW GCC 4.8.1. 2013-12-23 22:36:30 -08:00
bkaradzic
336bea5849 Fixed memory leak. 2013-12-21 23:37:35 -08:00
bkaradzic
7e656fa4ef Added GL 3.1 core profile shader patching. 2013-12-20 19:51:17 -08:00
bkaradzic
e3959838b3 Updated to OSX 10.9 and Xcode5. 2013-12-20 16:41:53 -08:00
bkaradzic
433a29d7d6 Use sdcard for loading data for Android examples. 2013-12-09 22:36:13 -08:00
bkaradzic
8c2b39efe2 Fixed warnings. 2013-12-07 10:45:15 -08:00
bkaradzic
dee588dfba OSX/iOS: Updated to Xcode5. 2013-12-07 10:19:54 -08:00
bkaradzic
9fd378b5d9 Fixed GCC warnings. 2013-12-02 20:09:03 -08:00
bkaradzic
9487ab6b5f Fixed GCC warnings. 2013-11-29 22:23:04 -08:00
Branimir Karadžić
86096bd3cc Merge pull request #57 from dariomanesku/master
Small update on 14-shadowvolumes.
2013-11-20 19:03:55 -08:00
Dario Manesku
aa1219b8b4 Using better data structures. 2013-11-20 20:28:12 +01:00
Dario Manesku
6e290a3c9b Supressing clang compiler warning. 2013-11-19 23:35:34 +01:00
bkaradzic
8c609d77c8 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-11-18 20:46:12 -08:00
bkaradzic
f912469a63 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-11-18 20:44:21 -08:00
bkaradzic
04f348c2ea OSX: Moved NSOpenGLContext creation to the main thread that created NSWindow. Fixes occasional GL_INVALID_FRAME_BUFFER_OPERATION error on DrawElements. 2013-11-18 20:43:17 -08:00
bkaradzic
333b164278 Cleanup. 2013-11-17 22:26:15 -08:00
bkaradzic
32fe192101 Cleanup. 2013-11-17 20:57:38 -08:00
bkaradzic
2563c271b0 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-11-17 20:43:00 -08:00
bkaradzic
a4df646179 Fixed fmin/fmax CRT library name collision. 2013-11-17 20:42:29 -08:00
bkaradzic
367279e2e5 OSX: Removed dependency on SDL2. 2013-11-17 20:14:57 -08:00
bkaradzic
40c9aa78d8 Fixed VS2008 build. 2013-11-14 19:10:34 -08:00
bkaradzic
fab2ef534c Using language compliant header guards. 2013-11-14 19:10:10 -08:00
Dario Manesku
e432a37396 Small refactor. 2013-11-13 19:11:34 +01:00
Dario Manesku
0381c60b6d Data structures sepatared for aligned memory access. 2013-11-13 17:53:44 +01:00
Dario Manesku
d7647a4cb7 Small optimization. 2013-11-13 17:04:21 +01:00
Dario Manesku
c0c62570ea Removed trailing whitespaces. 2013-11-12 22:31:44 +01:00
Dario Manesku
494fc01f23 Performance optimizations and SIMD support. 2013-11-12 22:31:44 +01:00
Dario Manesku
2d91c114c2 Removed duplicate edges from platform mesh. 2013-11-12 22:18:42 +01:00
bkaradzic
53adb1dae4 Fixed 14-shadowvolume build for Android. 2013-11-09 10:06:06 -08:00
bkaradzic
08ebd5523d Updated 08-update example. 2013-11-08 22:10:31 -08:00
bkaradzic
b584873b50 Added ability to specify arbitrary source pitch when uploading textures.
Added reference weldVertices implementation.
2013-11-07 23:00:53 -08:00
Dario Manesku
a2030866cd Updated screenshot. 2013-11-07 07:12:25 +01:00
Dario Manesku
eb37d42888 Binary shaders updated. 2013-11-06 19:36:26 +01:00
Dario Manesku
55f0be0761 Fixed reflection in 13-stencil. 2013-11-06 19:36:10 +01:00
Dario Manesku
9ee7d760a7 Fixed resource cleanup. 2013-11-06 19:06:50 +01:00
Dario Manesku
fd764ec261 Cleanup. 2013-11-06 19:06:49 +01:00
Dario Manesku
d7b69b1ce9 Minor fix. 2013-11-06 19:06:49 +01:00
Dario Manesku
3c0e4c68b3 Small refactor regarding shadow volume mtx computation. 2013-11-06 19:06:48 +01:00
Dario Manesku
46c8e1056a Cleanup. 2013-11-06 19:06:48 +01:00
bkaradzic
96ead5cfeb Fixed warning: operation on ‘currentDirection’ may be undefined. 2013-11-06 19:06:47 +01:00
bkaradzic
6a6404f73d Removed nonsense code. 2013-10-31 22:47:06 -07:00
bkaradzic
f0c9c14f93 Updated fpumath. 2013-10-31 21:49:15 -07:00
Dario Manesku
e216e35ecd Meshes rebuilded with --packnormal 1. 2013-10-25 18:31:58 +01:00
Dario Manesku
cdd6cb1a86 Max light and instance count are now preprocessor constants. 2013-10-25 18:20:25 +01:00
Dario Manesku
ad0cdd6f1c Tightening memory usage for shadow volumes. 2013-10-25 18:20:24 +01:00
Dario Manesku
4cb2ab30f2 Cleanup. 2013-10-25 18:20:24 +01:00
Dario Manesku
b48850a989 Added special allocator for shadow volumes data. 2013-10-25 18:20:23 +01:00
Dario Manesku
96743e3a5b Cleanup. 2013-10-25 18:20:23 +01:00
Dario Manesku
0c9ed73476 Small optimization. 2013-10-25 18:20:22 +01:00
Dario Manesku
64b2e96772 Added named variables for fov, aspect, near/far plane. 2013-10-25 18:20:22 +01:00
Dario Manesku
3db3f02dc6 Got rid of unnecessary things. 2013-10-25 18:20:21 +01:00
bkaradzic
48c477d0ac Updated screenshots. 2013-10-23 22:48:16 -07:00
bkaradzic
c99d145347 Added FontAwesome to 10-font example. 2013-10-23 20:32:48 -07:00
bkaradzic
8144613c94 Cleanup. 2013-10-20 19:30:58 -07:00
bkaradzic
ff21c42797 Cleanup. 2013-10-20 13:11:41 -07:00
bkaradzic
2d62896623 Updated shaders for example 13-stencil. 2013-10-20 12:47:58 -07:00
Dario Manesku
cd31dbfb13 Cleanup. 2013-10-20 21:26:04 +01:00
Dario Manesku
19f36716f7 Fixed lightning problem. 2013-10-20 21:22:19 +01:00
bkaradzic
3dc932d599 Cleanup. 2013-10-20 11:34:28 -07:00
bkaradzic
def41a0901 Fixed 64-bit warnings. 2013-10-18 23:45:34 -07:00
bkaradzic
fe53e02b7c Cleanup. 2013-10-18 23:08:57 -07:00
bkaradzic
49e14b2a54 Cleanup. 2013-10-18 23:05:33 -07:00
bkaradzic
e12c84c2e6 OSX: Fixed compile error. 2013-10-18 09:53:06 -07:00
bkaradzic
bd5fec510c Updated example mesh. 2013-10-18 08:41:31 -07:00
bkaradzic
9859472bab Added new examples to premake script. Added missing files. 2013-10-17 23:45:58 -07:00
bkaradzic
7f7687d582 Added new shaders. 2013-10-17 22:43:47 -07:00
Dario Manesku
48aa0079ae Added examples 13-stencil and 14-shadowvolumes 2013-10-18 07:18:31 +01:00
bkaradzic
6f3a18a805 Added delayed load for GLES dlls on Windows. 2013-10-10 22:57:42 -07:00
bkaradzic
f440f160f9 Exposed renderer capabilities. 2013-10-10 18:29:57 -07:00
bkaradzic
781c9cda5b Examples: Fixed resource leaks warnings. 2013-10-06 20:30:44 -07:00
bkaradzic
5f35341abf Fixed alloc/free mismatch with tinystl::string. 2013-10-06 19:32:35 -07:00
Josh Simmons
6c5c7786ca Handle exit message from window manager on Linux 2013-10-05 14:41:22 +10:00
bkaradzic
df1dfdc872 Added isValid check function for handles. 2013-09-29 21:33:50 -07:00
bkaradzic
ab969f0a1a Enable tinystl by default. 2013-09-22 21:40:17 -07:00
bkaradzic
a5948679ca Removed context static inialization. 2013-09-20 22:13:58 -07:00
bkaradzic
083ada2fbd Replaced custom allocator handling. 2013-09-16 21:40:30 -07:00
bkaradzic
f84081b0ad Added texture compression test. 2013-09-09 23:17:17 -07:00
bkaradzic
cacff49d99 Cleanup. 2013-09-08 23:14:34 -07:00
bkaradzic
983f1e6f9a GL: When using ARB_texture_swizzle don't swizzle image to BGRA8. 2013-09-08 23:03:14 -07:00
bkaradzic
9d59e31f6a Fixed warning. 2013-09-04 21:41:01 -07:00
bkaradzic
1da64571d9 Fixed MinGW build. 2013-08-30 22:31:40 -07:00
bkaradzic
b36a26528a Added fclamp and fsaturate. 2013-08-26 22:37:56 -07:00