UNPKG

three

Version:

JavaScript 3D library

17 lines (10 loc) 243 B
export default /* glsl */` uniform sampler2D t2D; varying vec2 vUv; void main() { vec4 texColor = texture2D( t2D, vUv ); gl_FragColor = mapTexelToLinear( texColor ); #include <tonemapping_fragment> #include <encodings_fragment> } `;