A downloadable asset pack

Mold is a real-time vector graphics library for Unity and Godot.

Discord | Twitter | Bluesky

When I started making games years ago I really just wanted to make games with simple 2D/3D geometry without opening image editing or modeling software. Mold is the solution I've made to make my game, and maybe you'd like it as well :)



This miniature version of Outer Wilds' universe was created using only Mold in Godot with about 3000 lines of GDscript only and zero asset.

Features

  • Abundance of 2D/3D geometry primitives. If it's not in here, just tell me the name I'll add it in!
  • Capability of creating rounded 3D geometry.
  • A monolithic MoldNode3D/MoldComponent that can draw any shape you wanted, and will be batched into the efficient renderer in runtime.
  • A nice code centric API to create geometry so you don't need to leave your IDE or Unity to make asset, and no GameObject overhead is needed so it can run blazingly fast.
  • Using low level DrawMeshInstanced API on Unity and MultiMesh on Godot for efficient rendering.
  • Abundance of color blending mode for all 2D/3D geometry primitives, and supports Oklab colorspace blending.
  • Automatic dithering cross fade for 3D primitives.
  • Designed around retained mode, but immediate mode API is also available with editor preview support.

Feel free to ping me on social, or tag your post on Bluesky or X (Twitter) with #MadeWithMold I would love to see what you made with it!

Limitations

  • UI rendering using Mold on Unity is achievable but not quite straight forward. Best not going into this project with UI rendering in mind if you're using Unity. 
  • Oklab colorspace blending looks beautiful, but it inheritly has performance costs and it adds up best use the linear RGB blending if you can get way with it.
  • 2D primitives have vector like quality: using shader to draw locally anti-aliased that looks crisp and clean under any resolution, but this is not a SVG rendering tool.


Updated 4 hours ago
Published 3 days ago
StatusIn development
CategoryAssets
AuthorDK Liao
Tags2D, 3D, Godot, Unity, Vector
ContentNo generative AI was used

Download

Download
MoldGodot-CSharp-v0.6.0.zip 10 MB
Download
MoldGodot-GDScript-v0.6.0.zip 10 MB
Download
MoldUnity-v0.6.0.zip 13 MB