Просмотр исходного кода

WebXRManager: Added note in setFoveation().

Mr.doob 4 лет назад
Родитель
Сommit
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号