Skip to content

Commit 3c04695

Browse files
committed
Fix transparency breakage in A-Frame v.1.3.0
The extension test was not rendering the MilkyWay cubemap.
1 parent 73ad20e commit 3c04695

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ AFRAME.registerComponent("cubemap", {
5151
uniforms: shader.uniforms,
5252
depthWrite: false,
5353
side: THREE.BackSide,
54+
transparent: true
5455
}).clone();
5556
// Threejs seems to have removed the 'tCube' uniform.
5657
// Workaround from: https://stackoverflow.com/a/59454999/6591491

0 commit comments

Comments
 (0)