Skip to content

Commit 313a7ab

Browse files
committed
Simplified refreshFogUniforms().
1 parent 294f04c commit 313a7ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/renderers/webgl/WebGLMaterials.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { BackSide } from '../../constants.js';
2-
import { ColorManagement } from '../../math/ColorManagement.js';
32

43
function WebGLMaterials( renderer, properties ) {
54

@@ -17,7 +16,7 @@ function WebGLMaterials( renderer, properties ) {
1716

1817
function refreshFogUniforms( uniforms, fog ) {
1918

20-
fog.color.getRGB( uniforms.fogColor.value, ColorManagement.workingColorSpace );
19+
fog.color.getRGB( uniforms.fogColor.value );
2120

2221
if ( fog.isFog ) {
2322

0 commit comments

Comments
 (0)