File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ const colorShader = {
260
260
vec4 previousPassColor = texture2D(tDiffuse, vUv);
261
261
gl_FragColor = vec4(
262
262
previousPassColor.rgb * color,
263
- previousPassColor.w );
263
+ previousPassColor.a );
264
264
}
265
265
` ,
266
266
};
@@ -275,7 +275,7 @@ is pretty much standard and rarely needs to be changed. Without going into too
275
275
many details (see articles linked above) the variables ` uv` , ` projectionMatrix` ,
276
276
` modelViewMatrix` and ` position` are all magically added by THREE.js.
277
277
278
- Finally we create a fragment shader. In it we get get pixel color from the
278
+ Finally we create a fragment shader. In it we get a pixel color from the
279
279
previous pass with this line
280
280
281
281
` ` ` glsl
You can’t perform that action at this time.
0 commit comments