Environment maps in Aframe


#1

How do you get a glass effect in A-frame here is a small glitch where I am trying to implement the environment maps referring the zappar aframe github repository but I am getting no transparency just a black metallic material:


#2

Hi @mihir,

Here’s a minimal codesandbox example (using image source camera):

Alternatively, here’s a more complicated example using a 3D model:

Hope this helps :slight_smile:


#3

Thanks Deim it works like a charm. I am exploring zappar more, can you guide me to more complex examples like these It would be really great.


#4

Here’s our example project library: https://docs.zap.works/universal-ar/example-project-library/ :slight_smile:


#5

@deim thank you