Commit graph

9 commits

Author SHA1 Message Date
Ben Clayton
301e8abf12 Add command flag for picking between shaders
The new `-s`, `--shaders` command line flag allows you to specify whether you want to load the glsl or hlsl shaders.
Defaults to glsl.

Issue: #723
2020-06-01 12:22:28 +01:00
Ben Clayton
ca884587a4 Move shaders into glsl and hlsl directories
Move `data/shaders` to `data/shaders/glsl`
Move `data/hlsl` to `data/shaders/hlsl`

Fix up shader paths in the cpp files to point to the new glsl location.

`data/shaders/hlsl/compile.py` still overwrites the glsl .spv files (for
now).

Issue: #723
2020-06-01 12:22:28 +01:00
Sascha Willems
662d2b3464 Centralize asset path handling
Refs #470
Refs #627
2020-02-17 21:09:27 +01:00
Hernan Saez
49bfc20673 Fix asset path for examples 2020-01-25 09:32:48 -03:00
Sascha Willems
8acc59a2e1 Code cleanup
Fixes #593
2020-01-18 10:13:14 +01:00
Sascha Willems
0eef7f2ee1 Removed unused gli includes 2019-08-03 10:15:55 +02:00
saschawillems
3bbf0d8f29 Updated ImGui example to support recent ImGui version
Refs #496
2018-08-29 18:24:39 +02:00
saschawillems
3051c3782f Use unformated text functions 2018-05-10 17:22:42 +02:00
saschawillems
94a076e1ae Moved example source files into sub folder 2017-11-12 19:32:09 +01:00