Browse Source

Merge pull request #1093 from Areloch/ForestWindDefoFeatureFix

Adds the hlsl and glsl wind deformation shader feature implementation code back into the cmake logic
Brian Roberts 2 năm trước cách đây
mục cha
commit
d074b58699
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      Engine/source/CMakeLists.txt

+ 6 - 0
Engine/source/CMakeLists.txt

@@ -130,6 +130,12 @@ torqueAddSourceDirectories("module")
 
 
 # Handle forest
 # Handle forest
 torqueAddSourceDirectories("forest" "forest/ts")
 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
 # Handle shadergen
 torqueAddSourceDirectories("shaderGen")
 torqueAddSourceDirectories("shaderGen")