Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to make use of DOTS in a scene having huge goemetry?

Discussion in 'Entity Component System' started by Rajawat, Sep 19, 2019.

  1. Rajawat

    Rajawat

    Joined:
    Oct 1, 2016
    Posts:
    25
    Hi,
    I have Scene which downloads a file and creates geometry and materials at runtime.
    Triangles of the Scene can go beyond 500k. I want to support Oculus VR platform - Go and Quest.
    Meshes are not repeatable or shared.

    I have already done Mesh simplification as much as possible
    I could not do Occlusion culling as the whole mesh is built at runtime.

    How can I leverage DOTS to support more triangles?
     
  2. DreamingImLatios

    DreamingImLatios

    Joined:
    Jun 3, 2017
    Posts:
    4,223
    Does your target platforms support ComputeBuffers? Managing all your mesh data using NativeArrays and syncing with ComputeBuffers and DrawMeshIndirect might help.
     
  3. Rajawat

    Rajawat

    Joined:
    Oct 1, 2016
    Posts:
    25
    I do not know if Oculus GO supports ComputeBuffers? How can I check that? and how computebuffer will help?