Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Discussion Simplest ways to draw grass

Discussion in 'General Graphics' started by Jayjayfast, Nov 20, 2023.

  1. Jayjayfast

    Jayjayfast

    Joined:
    Sep 12, 2023
    Posts:
    28
    Hi all,

    I know this is probably the most basic question imaginable, but I'm just looking for a nudge in the right direction.

    I have a game where 3d plants grow on a 3d grid hex grid.

    I'm having a great time creating the plants on blender, possibly with more enthusiasm than skill.

    Currently the grid is coloured by simple materials, and changes colour depending on the conditions, heat, humidity ect. To represent soil, sand, ice, rock. It's all very simple colours and low Polly meshes.

    I want another layer growing on top of the grid, but bellow the plants. I still want to be able to see what sort of ground is bellow the grass.

    I'm aiming for very basic effect, not a stone throw of the spray paint effect in ms paint.

    I can see two possible directions to go in, textures or a PNG's with transparent backgrounds.

    Or if anyone has any suggestions it would be appreciated.

    Thanks in advance
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,842
    The simplest and probably easiest way is to use a quad with a texture on top. This can cause a lot of overdraw, so keep that in mind.

    A more performant approach (usually), that also gives more flexibility is to draw the triangles themselves. I highly recommend to watch this playlist: (2) How Do Games Render So Much Grass? - YouTube