소스 검색

Adds the hlsl and glsl wind deformation shader feature implementation code back into the cmake logic

Areloch 2 년 전
부모
커밋
7819ca4037
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      Engine/source/CMakeLists.txt

+ 6 - 0
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")