2D Shaper Library
2D Shaper is a full featured, high performance 2D drawing library.
It provides esse ...
by GraphicDNA
★★★★ star rating
Price History +
2D Shaper is a full featured, high performance 2D drawing library.
It provides essential 2D drawing capabilities for custom editors or in-game 2D huds and charts. A must have for any IMGUI (the Immediate Mode GUI system) code, postprocessing or any other script that can leverage OpenGL 2D drawing like camera’s OnPostRender or OnRenderImage events, achieving outstanding results for UI, charts, HUDs, editor customization, etc.
Features:
- High performance GL drawing calls
- Simple shapes drawing: points, lines, rects, quads circles, arcs, triangles, polygons, arrows...
- Fully configurable line style, including: line thickness, color and dashed line pattern
- Full support for sprite rendering with configurable size, orientation and overlay color
- Full transparency support
- Optional fill texture for different patterns
- Easy text drawing using Bitmap Fonts with configurable size, color and orientation, text alignment, or with fully customizable text style using GUI labels
- Including LineChart script, to render fully customizable line charts with multiple series of data in your UI elements - Now with new scenes showcasing OnRenderImage postprocessing callback, with MSAA and drawing charts on the inspector view (custom editors) - Now with fill polygon methods (by now, only convex and triangle strips).
Other utilities:
- Get world position and size of a UI element
- Coordinates conversion between GUI, screen and OpenGL spaces
The package comes with 2 sample scenes: one with static draw examples, and another one with moving, dynamic charts and pictures.
Please note: This package is not a component that can be added to a game object in the inspector. It’s a code library you can use from a script (typically from methods like OnGui or OnPostRender). It includes sample scenes showing the most frequent use cases.
It provides essential 2D drawing capabilities for custom editors or in-game 2D huds and charts. A must have for any IMGUI (the Immediate Mode GUI system) code, postprocessing or any other script that can leverage OpenGL 2D drawing like camera’s OnPostRender or OnRenderImage events, achieving outstanding results for UI, charts, HUDs, editor customization, etc.
Features:
- High performance GL drawing calls
- Simple shapes drawing: points, lines, rects, quads circles, arcs, triangles, polygons, arrows...
- Fully configurable line style, including: line thickness, color and dashed line pattern
- Full support for sprite rendering with configurable size, orientation and overlay color
- Full transparency support
- Optional fill texture for different patterns
- Easy text drawing using Bitmap Fonts with configurable size, color and orientation, text alignment, or with fully customizable text style using GUI labels
- Including LineChart script, to render fully customizable line charts with multiple series of data in your UI elements - Now with new scenes showcasing OnRenderImage postprocessing callback, with MSAA and drawing charts on the inspector view (custom editors) - Now with fill polygon methods (by now, only convex and triangle strips).
Other utilities:
- Get world position and size of a UI element
- Coordinates conversion between GUI, screen and OpenGL spaces
The package comes with 2 sample scenes: one with static draw examples, and another one with moving, dynamic charts and pictures.
Please note: This package is not a component that can be added to a game object in the inspector. It’s a code library you can use from a script (typically from methods like OnGui or OnPostRender). It includes sample scenes showing the most frequent use cases.