Commit graph

8 commits

Author SHA1 Message Date
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
Chris Forbes
a05d90c221 Recompile shaders with more modern glslang
The SPIRV previously checked in had various issues -- most commonly, it
would use the VertexId and InstanceId builtins rather than the
replacmenet VertexIndex and InstanceIndex builtins required by Vulkan.
2019-09-06 09:59:45 +01:00
saschawillems
648339bbe6 Removed gl_PerVertex overrides
Fixes #509
2018-10-20 18:00:32 +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
81bd22834e Calculate terrain normals and enable lighting 2016-06-25 13:30:55 +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