Browse Source

Remove unnecessary comma in LuminosityHighPassShader

Tristan Valcke 8 năm trước cách đây
mục cha
commit
97143bfd2d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      examples/js/shaders/LuminosityHighPassShader.js

+ 2 - 2
examples/js/shaders/LuminosityHighPassShader.js

@@ -15,7 +15,7 @@ THREE.LuminosityHighPassShader = {
 		"luminosityThreshold": { type: "f", value: 1.0 },
 		"smoothWidth": { type: "f", value: 1.0 },
 		"defaultColor": { type: "c", value: new THREE.Color( 0x000000 ) },
-		"defaultOpacity":  { type: "f", value: 0.0 },
+		"defaultOpacity":  { type: "f", value: 0.0 }
 
 	},
 
@@ -56,7 +56,7 @@ THREE.LuminosityHighPassShader = {
 			"float alpha = smoothstep( luminosityThreshold, luminosityThreshold + smoothWidth, v );",
 
 			"gl_FragColor = mix( outputColor, texel, alpha );",
-
+
 		"}"
 
 	].join("\n")