This page details how to control the settings of individual VIVERSE Polygon Streaming models within your PlayCanvas project when using the VIVERSE PlayCanvas extension.
Polygon Streaming component settings are only available when using the VIVERSE of the PlayCanvas editor.
The Streamable Model Component or Polygon Streaming (VIVERSE SDK) component represents the model to be streamed inside your project. It will ask for a Polygon Streaming URL, which is the address of your newly converted model. Once you paste the address in that field, it's ready to be streamed inside your scene
The Quality Priority represents the priority of streaming data between multiple components. This means that some models can have higher priority of streaming than others, it can use only integer numbers and it works in the following logic:
Use Alpha should be checked if your model has transparency or uses alpha in their materials or textures.
Use MetalRoughness should be checked to use the model's MetalRoughness values, in case it's unchecked the model will be unlit. For both options, the default is always On.
Cast Shadows, Cast Lightmap Shadows and Receive Shadows should be checked in order for the model to cast and receive shadows.
Double Sided Materials should be checked in case the model was designed to use double sided materials.
Initial Triangle Percentage is the percentage of the amount of triangles to be first shown in the scene. This means that if you wish to show the model only when it's updated to highest level you can set it to 1.
Environment Asset allows to set a custom environment map to use for the streamed model. If no environment asset is set, it will use the environment of the scene itself.
Polygon Streaming URL
Path of the streamable mode to be streamed into the project.
./model.xrg
Quality Priority
How much to prioritize the quality of this model relative to the quality of other models in the scene. This parameter does nothing if this is the only model in the scene.
1
Use Alpha
Keep on if the model uses any alpha information or transparency.
On
Use MetalRoughness
Keep at on if the model uses PBR materials. Off in case of unlit models.
On
Cast Shadows
Keep on in case the model needs to cast shadow.
On
Cast Lightmap Shadows
Keep on in case the model needs to cast lightmap shadows.
On
Receive Shadows
Keep on in case the model needs to receive shadows.
On
Double Sided Materials
Turn on in case the model needs double sided materials.
Off
Initial LOD
Override the LOD that the model initially loads.
-1
Environment Asset
Use either a cubemap asset with a prefiltered image or the prefiltered image as a texture asset
Empty
Initial triangle percentage
Percentage of triangle budget for initially load the model
0.5
Layers
What layers to render the model
Empty
0
Highest Priority
1
Lowest Priority
2+
Higher Priority from the previous number, but still Lower Priority than 0 (zero).