You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
902 B
CMake
37 lines
902 B
CMake
if (NOT DEFINED OPENMW_SHADERS_ROOT)
|
|
return()
|
|
endif()
|
|
|
|
# Copy resource files into the build directory
|
|
set(SDIR ${CMAKE_CURRENT_SOURCE_DIR})
|
|
set(DDIRRELATIVE resources/shaders)
|
|
|
|
set(SHADER_FILES
|
|
groundcover_vertex.glsl
|
|
groundcover_fragment.glsl
|
|
water_vertex.glsl
|
|
water_fragment.glsl
|
|
water_nm.png
|
|
alpha.glsl
|
|
objects_vertex.glsl
|
|
objects_fragment.glsl
|
|
terrain_vertex.glsl
|
|
terrain_fragment.glsl
|
|
lighting.glsl
|
|
lighting_util.glsl
|
|
parallax.glsl
|
|
s360_fragment.glsl
|
|
s360_vertex.glsl
|
|
shadows_vertex.glsl
|
|
shadows_fragment.glsl
|
|
shadowcasting_vertex.glsl
|
|
shadowcasting_fragment.glsl
|
|
vertexcolors.glsl
|
|
nv_default_vertex.glsl
|
|
nv_default_fragment.glsl
|
|
nv_nolighting_vertex.glsl
|
|
nv_nolighting_fragment.glsl
|
|
)
|
|
|
|
copy_all_resource_files(${CMAKE_CURRENT_SOURCE_DIR} ${OPENMW_SHADERS_ROOT} ${DDIRRELATIVE} "${SHADER_FILES}")
|