GoogleCloudPlatform / immersive-stream-for-xr-templates

Apache License 2.0
62 stars 19 forks source link

What Build process does & Glass material for AR #20

Closed RaiaN closed 10 months ago

RaiaN commented 1 year ago

Hey,

I was looking into the template project and noticed that: 1) Some materials are not being used (i.e. magic window one) 2) ToBuild folder is being uploaded to the bucket 3) Car windows use dummy glass material

Do you do some asset replacement during the build process time to make sure glass material is rendered correctly? As well as configuring lights in special way so that they don't affect translucency in a bad way in AR?

cs-grasso commented 1 year ago

Hi,

We use the ToBuild folder to replace some of the assets during the build process. The files in this folder shouldn't be modified because this might cause builds to fail.

The materials and assets used for the Autos demo are all named Dummy because these are intended to be replaced once creators import their own assets. We do not replace the car window glass material at any time.

Some assets that are part of the template and are not being used in any of the maps are examples of features for which we haven't created demos yet but were requested by some creators to use in their projects. We'll include a Magic Window demo soon.