Does the Zea Engine support transparency?

If yes, can you point me to the docs?

It does !
Here is the latest commit on the subject :

2 Likes

Yes, transparency is supported by the material. You can make an object transparent in a few ways:

  1. You can set the ‘Opacity’ value on the material to < 1
  2. You can set the alpha value of the BaseColor value to < 1
  3. You can assign a image to the BaseColor value that has an alpha channel (like a 32bit PNG, or a webp with alpha).
const material = myGeomItem.getParameter('Material')
material.getParameter('Opacity').setValue(0.5)

Check out our end-to-end test on the subject.

1 Like

thanks @philip.taylor