Ver código fonte

Examples: Clean up. (#23192)

Michael Herzog 3 anos atrás
pai
commit
ccaf9de909
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      examples/jsm/shaders/MMDToonShader.js

+ 0 - 1
examples/jsm/shaders/MMDToonShader.js

@@ -57,7 +57,6 @@ const mmd_toon_matcap_fragment = `
 	vec3 y = cross( viewDir, x );
 	vec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5; // 0.495 to remove artifacts caused by undersized matcap disks
 	vec4 matcapColor = texture2D( matcap, uv );
-	matcapColor = matcapTexelToLinear( matcapColor );
 
 	#ifdef MATCAP_BLENDING_MULTIPLY