Commit graph

42 commits

Author SHA1 Message Date
saschawillems
68692367e0 Replaced text overlay with proper UI overlay 2017-11-01 14:22:10 +01:00
saschawillems
cd8274c294 glm matrix initialization 2017-09-24 18:17:07 +02:00
saschawillems
6330ed9d94 Revert "Modifications to shadowmapping example"
This reverts commit 286d589497.
2017-08-26 15:26:49 +02:00
Steve Hill
286d589497 Modifications to shadowmapping example
Change-Id: Idd0589033b56d82ba59258812a3bc0ecbc540ef3

Signed-off-by: saschawillems <webmaster@saschawillems.de>
2017-07-28 17:52:07 +02:00
saschawillems
904d785c20 Set maxAnisotropy to 1.0f instead of 0.0f (Fixes validation errors, refs #277) 2017-06-01 22:32:39 +02:00
saschawillems
a6ddaf3996 Changed sub pass dependencies for offscreen pass (Fixes #335) 2017-06-01 22:13:38 +02:00
saschawillems
b31d773b93 Moved Initializers to vks namespce (Refs #260) 2017-02-12 11:12:42 +01:00
saschawillems
776b6f0106 Moved VulkanBuffer to vks namespce (Refs #260) 2017-02-12 10:44:51 +01:00
saschawillems
27e8c258dc Corrected include 2017-02-11 14:23:28 +01:00
saschawillems
7e43a55a76 Removed old mesh loader, replaced with new model loader and vertex layout class in all examples (Refs #260) 2017-02-11 14:18:24 +01:00
saschawillems
89f82e328c Added PCF filtering toggle (second pipeline using specialization constants), use createBuffer from Vulkan device class 2017-01-07 20:20:40 +01:00
saschawillems
668ad24830 Pipeline stage masks for shadow map generation subpass dependencies 2016-12-31 11:28:08 +01:00
saschawillems
c7729f7634 Corrected image layouts for shadow mapping depth reads (Fixes #253), fixed typo 2016-12-29 23:16:29 +01:00
saschawillems
2e5af6a9fb Replaced vkTools::UniformData with newer vk::Buffer for uniform buffers, some renaming, small fixes and corrections 2016-12-24 12:48:01 +01:00
saschawillems
5a049bb3fb Use offscreen render pass, refactoring and cleanup 2016-08-13 20:35:22 +02:00
saschawillems
a84d5421fe Depth only pass for shadow map generation (removed color attachment) 2016-08-13 19:53:37 +02:00
saschawillems
f60e5d25fd Fold layout transitions into subpass (Refs #155), refactoring of offscreen render pass 2016-08-13 19:31:41 +02:00
Laurent Carlier
6b259a22e8 Use keycodes intead of hardcoded values
Signed-off-by: Laurent Carlier <lordheavym@gmail.com>
2016-08-11 14:24:32 +02:00
saschawillems
9a057f4146 Replaced example base memory type index function with function from VulkanDevice 2016-07-23 20:42:03 +02:00
saschawillems
953d77803f Removed offscreen texture target, sample directly from framebuffer color attachment 2016-06-05 17:35:21 +02:00
saschawillems
05a4fab71f Comments, small optimization 2016-06-05 16:42:27 +02:00
saschawillems
4c9c5478d4 Image barrier 2016-06-05 16:24:04 +02:00
saschawillems
82a57c8ce9 Removed offscreen texture (and copy), sample from depth attachment directly instead 2016-06-05 15:44:04 +02:00
saschawillems
bbce1bd743 Use vulkan result check macro 2016-05-14 19:27:23 +02:00
saschawillems
2a05de5882 Use temporary command buffers for submitting image layout transitions 2016-05-14 19:19:12 +02:00
saschawillems
d7ea2c2ef8 Use additional semaphore to synchronize between offscreen rendering and offscreen target usage in final render pass (Refs #70), set attachment flags to zero (Validation warning) 2016-05-14 19:12:10 +02:00
Sascha Willems
6a4345c3e1 Merge pull request #101 from 1ace/remove-vk-prototype
Remove VK_PROTOTYPES define
2016-03-27 13:30:31 +02:00
saschawillems
4e689f3fee Call example destructor on Android (Fixes #97) 2016-03-26 13:21:19 +01:00
saschawillems
08fc2feecc Added android support for shadow mapping (projected and omni) and texture (array and cubemap ) example (#97) 2016-03-25 15:29:38 +01:00
Eric Engestrom
caabf520f2 Remove VK_PROTOTYPES
This guard macro was inverted shortly before the release;
use VK_NO_PROTOTYPES when you do *not* want the prototypes.
2016-03-22 00:25:50 +00:00
saschawillems
66607e2d2f Added device name and frame rate counter to window title 2016-03-13 16:51:00 +01:00
saschawillems
72e6cd8ee5 Fixed image layout transitions and initial layouts and command buffer submissions for offscreen examples 2016-03-13 16:04:39 +01:00
saschawillems
73c11f6dba Use dedicated render pass for offscreen frame buffer with matching attachment formats (Fixes #68) 2016-03-10 21:17:48 +01:00
saschawillems
403d851d63 Force glm clip space to 0..1 (Fixes #18, Fixes #45) 2016-03-08 21:52:40 +01:00
saschawillems
8cd5041111 Use application wide submit info and semaphores (Fixes #66, Fixes #65, Fixes#60), removed no longer functional code loading GLSL (Fixes #62) 2016-03-06 20:15:05 +01:00
Justin Li
311f223e10 Don't set flags on VkSemaphoreCreateInfo 2016-03-06 01:20:03 -05:00
saschawillems
f8360427cb Assign offscreen framebuffer texture target view to descriptor info 2016-03-05 17:29:20 +01:00
Christoph Haag
5a69a89d71 fix handle_event -> handleEvent in shadowmapping 2016-03-02 13:26:54 +01:00
saschawillems
7e8365630e Fidex wrong offscreen uniform buffer size assignment, added pre present barrier. Now also works on AMD GPUs 2016-03-01 19:33:48 +01:00
Sascha Willems
80c6fc0206 Fixed CMakeLists.txt to reflect name changes and shadow mapping example addition 2016-02-29 10:46:17 +01:00
saschawillems
65c619ddf8 Project settings, shader paths 2016-02-28 22:29:36 +01:00
saschawillems
e45c90f180 Added shadow mapping example 2016-02-28 22:26:11 +01:00