Commit graph

546 commits

Author SHA1 Message Date
saschawillems
0112aa034d Initial commit for deferred shadow example (wip) 2016-07-14 23:45:52 +02:00
saschawillems
1596086da3 Added open box background mesh 2016-07-14 23:44:38 +02:00
saschawillems
a89aebd381 Added shaders for deferred shadow example 2016-07-14 23:44:08 +02:00
saschawillems
9782fbcb66 Function for generating vertex attribute descriptions for a given vertex layout 2016-07-14 21:29:56 +02:00
saschawillems
876f5714eb Use gl_FrontFacing to determine mirrored surface side, enable clipping (Refs #190) 2016-07-06 21:13:24 +02:00
Sascha Willems
becdc7c9dc Merge pull request #190 from jherico/mirror
Don't render the reflection on the far side of the floor
2016-07-06 20:37:27 +02:00
saschawillems
29de5135b0 Updated android build file for deferred shading example 2016-07-04 20:54:00 +02:00
saschawillems
48ecef07fa Normal orientation, don't pause by default 2016-07-04 19:28:43 +02:00
saschawillems
d139e90f66 Reverted change for inverted normal y 2016-07-04 19:28:19 +02:00
saschawillems
e97713ab34 Added missing line for linux example main macro (Fixes #193) 2016-07-04 19:12:30 +02:00
saschawillems
18013c44e0 Visually upgraded deferred rendering example with moving lights, multiple meshes and normal mapping 2016-07-03 21:32:35 +02:00
saschawillems
f06ffae58e Added normal maps 2016-07-03 21:16:36 +02:00
saschawillems
14f82969be Added mesh create info structure for passing info on scaling and centering upon mesh creation 2016-07-03 21:09:20 +02:00
saschawillems
93724b523f Apply rotation speed for mouse input 2016-07-03 21:06:17 +02:00
saschawillems
28fee1fe6c gl_PerVertex outputs 2016-07-03 17:30:27 +02:00
saschawillems
fe2aa7ff92 Add dynamic line width state, enable wide line feature (Fixes #165) 2016-07-03 17:07:23 +02:00
saschawillems
aa1fb5eb95 Callback for enabling device features as optional constructor argument (Refs #165) 2016-06-27 22:28:21 +02:00
Brad Davis
0e88fb6811 Don't render the reflection on the far side of the floor 2016-06-27 01:26:48 -07:00
saschawillems
0616eeff4e Revert fixed tessellation device features in base class 2016-06-26 11:03:05 +02:00
saschawillems
165022ab7e Moved event handler callbacks (windows and linux) into os specific macros 2016-06-26 00:04:13 +02:00
saschawillems
e24a54b976 Added os specific example main entry point macros 2016-06-25 23:10:43 +02:00
saschawillems
0ca94918db Added os specific example main entry point macros 2016-06-25 23:01:09 +02:00
saschawillems
5803e166f5 Android asset loading for height map 2016-06-25 22:49:22 +02:00
saschawillems
d0f1ae90e5 Added dynamic terrain tessellation example to readme 2016-06-25 21:46:04 +02:00
saschawillems
04150b812e Camera setup, terrain texture transitions 2016-06-25 21:23:12 +02:00
saschawillems
cc5ade69f1 Added fog 2016-06-25 20:40:22 +02:00
saschawillems
8ff0ad57ba No longer enable validation layers at device level, deprecated since SDK 1.0.17.0 (refs #189) 2016-06-25 19:52:50 +02:00
saschawillems
268d268859 Clean up resources, refactoring, compiler warnings 2016-06-25 17:58:27 +02:00
saschawillems
81bd22834e Calculate terrain normals and enable lighting 2016-06-25 13:30:55 +02:00
saschawillems
c26e1b7918 Fixed compiler type cast warning 2016-06-25 13:27:18 +02:00
saschawillems
d9d3a3e3b3 Use 16-bit single channel heightmap for terrain displacement 2016-06-24 20:59:56 +02:00
saschawillems
a9de176d12 Added tessellation evaluation shader frustum culling and pipeline stats for dynamic terrain tessellation example 2016-06-23 22:01:48 +02:00
saschawillems
dbf80b217c Use undefined initial image layout (fixes #187), added missing layout transition for compute texture target in ray tracing example 2016-06-22 20:30:14 +02:00
saschawillems
00560f06b5 Use undefined initial image layout (refs #187), request coherent host visible memory types 2016-06-21 23:10:04 +02:00
saschawillems
8f76a24e53 Build command buffers for pre and post present barriers only once (instead of every frame) 2016-06-21 23:07:16 +02:00
saschawillems
d944af8604 Transform swap chain image from undefined instead of present (fixes #156) 2016-06-21 22:23:14 +02:00
saschawillems
2aefecfb9a Transform swap chain image from undefined instead of present (refs #156) 2016-06-21 22:17:05 +02:00
saschawillems
037804f3b9 Updated draw functions using base class frame prepare and submit 2016-06-21 21:55:31 +02:00
saschawillems
1b376da279 Cleaned up image layout transition function, comments (refs #187) 2016-06-21 21:05:38 +02:00
saschawillems
82242e61de Cleaned up image layouts, pass subresourcerange, use undefined image layout for optimal tiled images (refs #187) 2016-06-21 20:36:54 +02:00
saschawillems
2e101fdd1e First person gamepad camera for Android (move with LT, look around with RT) 2016-06-20 22:08:50 +02:00
saschawillems
d8e362cc8e Text overlay 2016-06-20 22:06:36 +02:00
saschawillems
d3f79ea07e Fixed typo in camera class 2016-06-20 20:17:46 +02:00
saschawillems
5b5543e415 Added android build files for terrain tessellation example 2016-06-20 20:05:33 +02:00
saschawillems
4104d6a201 Keys for tessellation and wireframe 2016-06-20 20:04:28 +02:00
saschawillems
555a1e8f3d Added resources for dynamic terrain tessellation example 2016-06-19 13:35:09 +02:00
saschawillems
0f66037da0 Started work on dynamic terrain tessellation example 2016-06-18 19:24:37 +02:00
saschawillems
4ba4d67935 Load mip levels for cube maps and texture arrays (TextureLoader) 2016-06-18 17:42:33 +02:00
saschawillems
b7dae92ed8 Added descriptor info to texture struct 2016-06-14 19:01:29 +02:00
saschawillems
03dd118420 Initialize skinned mesh with nullptr 2016-06-14 18:12:47 +02:00