2021-12-08 14:33:49 +01:00
|
|
|
if (NOT DEFINED OPENMW_RESOURCES_ROOT)
|
2016-10-28 15:39:27 +02:00
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
2015-10-26 21:36:19 +01:00
|
|
|
# Copy resource files into the build directory
|
|
|
|
set(SDIR ${CMAKE_CURRENT_SOURCE_DIR})
|
2017-10-11 21:58:55 +01:00
|
|
|
set(DDIRRELATIVE resources/shaders)
|
2015-10-26 21:36:19 +01:00
|
|
|
|
|
|
|
set(SHADER_FILES
|
2020-01-12 11:42:47 +04:00
|
|
|
groundcover_vertex.glsl
|
|
|
|
groundcover_fragment.glsl
|
2015-10-26 21:36:19 +01:00
|
|
|
water_vertex.glsl
|
|
|
|
water_fragment.glsl
|
|
|
|
water_nm.png
|
2020-12-16 23:44:15 +00:00
|
|
|
alpha.glsl
|
2021-06-01 12:15:25 -07:00
|
|
|
depth.glsl
|
2016-02-16 18:18:48 +01:00
|
|
|
objects_vertex.glsl
|
|
|
|
objects_fragment.glsl
|
2022-04-26 19:54:24 +02:00
|
|
|
openmw_fragment.glsl
|
|
|
|
openmw_fragment.h.glsl
|
2022-04-24 15:29:16 +00:00
|
|
|
openmw_fragment_multiview.glsl
|
2022-04-26 19:54:24 +02:00
|
|
|
openmw_vertex.glsl
|
|
|
|
openmw_vertex.h.glsl
|
2022-04-24 15:29:16 +00:00
|
|
|
openmw_vertex_multiview.glsl
|
2016-02-19 01:30:15 +01:00
|
|
|
terrain_vertex.glsl
|
|
|
|
terrain_fragment.glsl
|
2016-02-17 23:29:26 +01:00
|
|
|
lighting.glsl
|
2021-04-08 12:42:11 -07:00
|
|
|
lighting_util.glsl
|
2016-03-22 21:15:20 +01:00
|
|
|
parallax.glsl
|
2017-12-01 19:54:48 +01:00
|
|
|
s360_fragment.glsl
|
|
|
|
s360_vertex.glsl
|
2018-06-24 23:40:52 +01:00
|
|
|
shadows_vertex.glsl
|
|
|
|
shadows_fragment.glsl
|
2018-10-16 21:23:31 +01:00
|
|
|
shadowcasting_vertex.glsl
|
|
|
|
shadowcasting_fragment.glsl
|
2020-12-19 20:17:42 +03:00
|
|
|
vertexcolors.glsl
|
2023-01-06 22:23:03 -08:00
|
|
|
multiview_resolve_vertex.glsl
|
|
|
|
multiview_resolve_fragment.glsl
|
2020-12-17 00:46:09 +03:00
|
|
|
nv_default_vertex.glsl
|
|
|
|
nv_default_fragment.glsl
|
|
|
|
nv_nolighting_vertex.glsl
|
|
|
|
nv_nolighting_fragment.glsl
|
2022-05-13 18:58:00 -07:00
|
|
|
blended_depth_postpass_vertex.glsl
|
|
|
|
blended_depth_postpass_fragment.glsl
|
2021-07-22 15:55:30 -07:00
|
|
|
gui_vertex.glsl
|
|
|
|
gui_fragment.glsl
|
2021-07-09 10:05:27 -07:00
|
|
|
debug_vertex.glsl
|
|
|
|
debug_fragment.glsl
|
2021-10-23 17:53:38 -07:00
|
|
|
sky_vertex.glsl
|
|
|
|
sky_fragment.glsl
|
|
|
|
skypasses.glsl
|
2021-10-20 09:42:18 -07:00
|
|
|
softparticles.glsl
|
2022-07-22 20:41:08 -07:00
|
|
|
hdr_resolve_fragment.glsl
|
2022-05-13 18:58:00 -07:00
|
|
|
hdr_luminance_fragment.glsl
|
|
|
|
fullscreen_tri_vertex.glsl
|
|
|
|
fullscreen_tri_fragment.glsl
|
2022-06-06 22:40:38 +02:00
|
|
|
fog.glsl
|
2023-01-06 22:23:03 -08:00
|
|
|
precipitation_vertex.glsl
|
|
|
|
precipitation_fragment.glsl
|
2015-10-26 21:36:19 +01:00
|
|
|
)
|
|
|
|
|
2021-12-08 14:33:49 +01:00
|
|
|
copy_all_resource_files(${CMAKE_CURRENT_SOURCE_DIR} ${OPENMW_RESOURCES_ROOT} ${DDIRRELATIVE} "${SHADER_FILES}")
|