소스 검색

WebXRManager: Added note in setFoveation().

Mr.doob 4 년 전
부모
커밋
2604872527
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/renderers/webxr/WebXRManager.js

+ 3 - 0
src/renderers/webxr/WebXRManager.js

@@ -487,6 +487,9 @@ class WebXRManager extends EventDispatcher {
 
 		this.setFoveation = function ( foveation ) {
 
+			// 0 = no foveation = full resolution
+			// 1 = maximum foveation = the edges render at lower resolution
+
 			if ( glProjLayer !== null ) {
 
 				glProjLayer.fixedFoveation = foveation;

粤ICP备19079148号