|
@@ -477,7 +477,7 @@ function WebGLProgram( renderer, code, material, parameters ) {
|
|
|
( parameters.toneMapping !== NoToneMapping ) ? ShaderChunk[ 'tonemapping_pars_fragment' ] : '', // this code is required here because it is used by the toneMapping() function defined below
|
|
|
( parameters.toneMapping !== NoToneMapping ) ? getToneMappingFunction( "toneMapping", parameters.toneMapping ) : '',
|
|
|
|
|
|
- parameters.dithering ? '#define REMOVE_BANDING' : '',
|
|
|
+ parameters.dithering ? '#define DITHERING' : '',
|
|
|
parameters.dithering ? ShaderChunk[ 'dithering_pars_fragment' ] : '',
|
|
|
|
|
|
( parameters.outputEncoding || parameters.mapEncoding || parameters.envMapEncoding || parameters.emissiveMapEncoding ) ? ShaderChunk[ 'encodings_pars_fragment' ] : '', // this code is required here because it is used by the various encoding/decoding function defined below
|