From 7819ca4037f1e13b1a6471d8e80583e42f87bdb0 Mon Sep 17 00:00:00 2001 From: Areloch Date: Sun, 17 Sep 2023 19:14:42 -0500 Subject: [PATCH] Adds the hlsl and glsl wind deformation shader feature implementation code back into the cmake logic --- Engine/source/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Engine/source/CMakeLists.txt b/Engine/source/CMakeLists.txt index b69050644..4abb173ea 100644 --- a/Engine/source/CMakeLists.txt +++ b/Engine/source/CMakeLists.txt @@ -130,6 +130,12 @@ torqueAddSourceDirectories("module") # Handle forest torqueAddSourceDirectories("forest" "forest/ts") +if(TORQUE_OPENGL) + torqueAddSourceDirectories("forest" "forest/glsl") +endif(TORQUE_OPENGL) +if(TORQUE_D3D11) + torqueAddSourceDirectories("forest" "forest/hlsl") +endif(TORQUE_OPENGL) # Handle shadergen torqueAddSourceDirectories("shaderGen")