Shapely View on Asset Store (opens in new tab)

Package details

Latest version
1.0.1
Last updated
First released
Unity version
2022.3.21 or later
Package size
474 KB
Files
14
Favorites
8
Views in the past week
6

Price tracking

Last checked
Tracked since
Lowest recorded
$24.50 on

Keywords

Shapely

by TAC (opens in new tab)

No ratings yet

Shapely is a shape generation tool for single CPU, multi-threaded CPU and GPU. Draw items with lines, arrows etc., or just render a lot of polygonal shapes.

Price $35.00

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Shapely, 6 months Current $35.00; lowest $35.00; highest $35.00 in this period. $0 $25 $50 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 5

Shapely screenshot 1

Shapely screenshot 1

About this asset

Often we need to draw shapes in our game world - maybe for maps or terrain, around characters, highlighters etc. Or perhaps we're still in development mode, what if we need to display arrows for our units to indicate their movement, vision range etc.

This is a very high performance package made to do just that, it comes with various processing modes that increase in complexity.

The tool can render different shapes out of the box, segmented or solid with different color options.

From the publisher's Asset Store listing.

Technical details

Processing Modes:

  • The simplest is the single CPU methods, they are the easiest to modify
  • After that we have C# Task.Factory, it allows for multi-threading but does generate garbage
  • We also include Thready versions, which is for our as of yet unreleased C# managed threadpool that doesn't generate garbage, and is about 2-3 times as fast as Task
  • Then we have Burst for optimal CPU performance, due to SIMD it will be about up to 8x as fast as single CPU. All these use the Advanced MeshAPI to creates meshes
  • Finally we have GPU Compute Shaders. Instead of generating a mesh we create the vertices/indices on the GPU and pass them directly into our material for rendering

Shapes:

  • Lines
  • Arrows
  • Crosses (X Shapes)
  • Polygons from 3 - N edges

All lines for the shapes can be either solid or segmented, alternating between visible and invisible.

All items are created based on a 3d position in the world, by default facing up. Apply a world rotation, scale and offset to change their direction.

We use a secondary 3d value which may be set as a point, or as a direction vector.

Basic built-in animation for the width/length is included, as well as rotation for shapes.

Colors:

  • Single color applied to all
  • Per Item color
  • Per Vertex colors

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP
2022.3.21f1 Not listed Compatible Not listed

The shaders used to render the shapes are URP only.

As listed on the Asset Store.