mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 15:49:56 +00:00
6000e48bba
Textures with _n filename suffix are automatically recognized as terrain normal maps.
16 lines
406 B
CMake
16 lines
406 B
CMake
# Copy resource files into the build directory
|
|
set(SDIR ${CMAKE_CURRENT_SOURCE_DIR})
|
|
set(DDIR ${OpenMW_BINARY_DIR}/resources/shaders)
|
|
|
|
set(SHADER_FILES
|
|
water_vertex.glsl
|
|
water_fragment.glsl
|
|
water_nm.png
|
|
objects_vertex.glsl
|
|
objects_fragment.glsl
|
|
terrain_vertex.glsl
|
|
terrain_fragment.glsl
|
|
lighting.glsl
|
|
)
|
|
|
|
copy_all_files(${CMAKE_CURRENT_SOURCE_DIR} ${DDIR} "${SHADER_FILES}")
|