Supported Parameters
As can be seen in the example above you can set a number of parameters to the sosstreamablemodel component:
Name | Description | Default value |
---|---|---|
path | The path to the streamable asset. | './model.sxrweb' |
useAlpha | Enable semi-transparent materials | true |
useMetalRoughness | Use PBR shading. Can be set to false if you want flat shading for e.g. photogrammetry models. | true |
occlusionCulling | Use occlusion culling. This will reduce the amount of rendered triangles and can speed up rendering significantly, but does not work well with shadows. | true |
equirecEnvMap | Path to an equirectangular environment map. Currently only the jpg format is supported. Can be left empty. | '' |
doubleSidedMaterials | Will switch on double sided surfaces in materials. | false |
quality | A number for adjusting the quality level (and bandwidth requirement). Can be any number, but should normally be between 0 and 3. Reference: 0 = low quality 1 = medium quality 2 = high quality >2 = extremely high quality. | 1.0 |
shadows | This needs to be set to true if you wish the streamable asset to cast and receive threejs shadows. | false |
īģŋ
īģŋ
īģŋ