|
@@ -1,7 +1,3 @@
|
|
-import {
|
|
|
|
- ShaderChunk
|
|
|
|
-} from 'three';
|
|
|
|
-
|
|
|
|
const OutputShader = {
|
|
const OutputShader = {
|
|
|
|
|
|
uniforms: {
|
|
uniforms: {
|
|
@@ -35,7 +31,8 @@ const OutputShader = {
|
|
|
|
|
|
uniform sampler2D tDiffuse;
|
|
uniform sampler2D tDiffuse;
|
|
|
|
|
|
- ` + ShaderChunk[ 'tonemapping_pars_fragment' ] + ShaderChunk[ 'colorspace_pars_fragment' ] + `
|
|
|
|
|
|
+ #include <tonemapping_pars_fragment>
|
|
|
|
+ #include <colorspace_pars_fragment>
|
|
|
|
|
|
varying vec2 vUv;
|
|
varying vec2 vUv;
|
|
|
|
|