瀏覽代碼

add multiview fragment import

Trevor Baron 6 年之前
父節點
當前提交
d786f1affb
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/PostProcesses/vrDistortionCorrectionPostProcess.ts

+ 1 - 0
src/PostProcesses/vrDistortionCorrectionPostProcess.ts

@@ -6,6 +6,7 @@ import { Texture } from "../Materials/Textures/texture";
 import { PostProcess } from "./postProcess";
 
 import "../Shaders/vrDistortionCorrection.fragment";
+import "../Shaders/vrMultiviewToSingleview.fragment";
 
 /**
  * VRDistortionCorrectionPostProcess used for mobile VR