Skip to content

Commit 5b8c734

Browse files
committed
fix : mapTexelToLinear
see mrdoob/three.js#22269
1 parent ecf3030 commit 5b8c734

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/contour/ContourMaterial.frag.glsl.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ void main() {
5050
#ifdef USE_MAP
5151
float mapY = ( meshPosition.y - bottom ) / ( top - bottom );
5252
vec4 texelColor = texture2D( map, vec2(0.5, mapY) );
53-
texelColor = mapTexelToLinear( texelColor );
5453
diffuseColor *= texelColor;
5554
#endif
5655
#include <color_fragment>

0 commit comments

Comments
 (0)