Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question How to draw multiple polygons in groups?

Discussion in 'General Graphics' started by Meaningless-Trinket, Aug 22, 2023.

  1. Meaningless-Trinket

    Meaningless-Trinket

    Joined:
    Apr 25, 2020
    Posts:
    78
    I have sectors and in the sectors I draw groups of polygons.

    I use Graphics.Draw to render polygons, but I want to draw after I determine if the polygons are visible or not.

    Can there be one draw after shader clipping or how do you draw multiple polygons from groups?

    I put in Graphics draw and material property block to clip and draw the polygon, is there a better way?
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    37,181