瀏覽代碼

Merge pull request #19197 from WestLangley/dev_renderer_tonemap_default

WebGLRenderer: default to NoToneMapping
Mr.doob 5 年之前
父節點
當前提交
9240315910
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/renderers/WebGLRenderer.js

+ 2 - 2
src/renderers/WebGLRenderer.js

@@ -12,7 +12,7 @@ import {
 	FloatType,
 	FloatType,
 	UnsignedByteType,
 	UnsignedByteType,
 	LinearEncoding,
 	LinearEncoding,
-	LinearToneMapping,
+	NoToneMapping,
 	BackSide
 	BackSide
 } from '../constants.js';
 } from '../constants.js';
 import { MathUtils } from '../math/MathUtils.js';
 import { MathUtils } from '../math/MathUtils.js';
@@ -107,7 +107,7 @@ function WebGLRenderer( parameters ) {
 
 
 	// tone mapping
 	// tone mapping
 
 
-	this.toneMapping = LinearToneMapping;
+	this.toneMapping = NoToneMapping;
 	this.toneMappingExposure = 1.0;
 	this.toneMappingExposure = 1.0;
 	this.toneMappingWhitePoint = 1.0;
 	this.toneMappingWhitePoint = 1.0;