Movatterモバイル変換


[0]ホーム

URL:


Thick Sprite Mesh

A downloadable unity plugin

Buy Now$11.00 USDor more

Thick Sprite Mesh adds the third dimension (depth) to your sprites - no 3D modeling skills needed!

This simple Unity plugin lets you transform any 2D sprite into a thick, customizable 3D object with just a few clicks, while maintaining the sprite's original charm and offering flexibility in design and appearance. You can use it to create simple meshes or 2.5D/voxel visuals, in editor or at runtime, without 3D modeling skills.

Maybe useful for creating the following visuals, which have depth effects:

  • 3D cards
  • 3D icons
  • 3D style UI elements
  • voxel style elements
  • 2.5D platformers
  • etc.

FULL SOURCE CODEand SOURCE INTERPRETATION DOCUMENT are provided.

Technical Details

  • Tested on Built-in RP, URP and HDRP
  • Customizable Front/Back/Side Faces: You can customize the appearances of the front, back, and side faces separately.
  • Materials/Textures Options: You can apply custom materials or textures to each face.
  • Four Modes for Side Face:
    • solid color
    • custom texture
    • custom material
    • front edge (side face extends the edge colors of front face)
  • Adjustable Thickness:You can adjust the thickness/depth of the mesh.
  • Multiple UV Mapping Patternsfor Side Texture: You can map the thickness of the sprite to the width or height of the side texture.
  • Editor & Runtime Support: You can create the meshes when designing your games in the editor, or generate the mesh during runtime
  • Runtime Modification: Meshes are generated dynamically, so the shape and appearance can be updated anytime during runtime.
  • Lightweight Script:All of the features are implemented in just one lightweight script (ThickSpriteMesh.cs).
  • Detailed Documentation Support:
    • Includes a comprehensive demo scene and clear manual to get you started quickly.
    • A documentation of the source code is also provided.

Changelog

2.1.0

  • Added "Thickness To" option for side faces to support multiple UV mapping modes of side texture
  • Improved source code readability

2.0.2

  • Fixed build errors
  • Fixed an issue where user modifications to materials dynamically created were unintentionally reset at startup

2.0.1

  • Fixed compiling errors when working with C# versions <8.0, such as UdonSharp

2.0.0

  • Added support fordifferent front/back sprites and materials
  • AddedFront Edge mode for side face
  • AddedRefresh menu item in the context menu
  • Added Chinese and Japanese manuals
  • Added source code interpretation document
  • Changed user manuals to Markdown and HTML format
  • Fixed the normal direction of the front face

1.0.0

First release

Purchase

Buy Now$11.00 USDor more

In order to download this unity plugin you must purchase it at or above the minimum price of $11 USD. You will get access to the following files:

ThickSpriteMesh2.1.0.unitypackage4.6 MB
ThickSpriteMesh2.0.2.unitypackage4.5 MB
ThickSpriteMesh2.0.1.unitypackage4.5 MB
ThickSpriteMesh2.0.0.unitypackage4.6 MB

Development log

Comments

Log in with itch.io to leave a comment.

I bought this on the asset store for a gamejam project that needed some chunky sprites. Unfortunately the package doesn't work with spritesheets - the  UVs get set to the entire sheet rather than the individual sprites.

I managed to fix this myself with the following  uv calculations:

    frontUVs[i].x = Mathf.Lerp(u1, u2, Mathf.InverseLerp(frontBounds.min.x, frontBounds.max.x, frontVertices[i].x));

    frontUVs[i].y = Mathf.Lerp(v1, v2, Mathf.InverseLerp(frontBounds.min.y, frontBounds.max.y, frontVertices[i].y));

That's frustrating! I'm sorry that the plugin didn't correctly handle spritesheets right out of the box for your game jam project.

Thank you so much for taking the time to report this specific issue and, even more importantly, for providing the detail about the UV calculations you used to fix it. This kind of specific feedback is incredibly valuable for improving the asset.

I will improve the code based on your findings and make the code work with spritesheets for future updates.

itch.io·View all by Zhixiang·Report·Embed
Tools$15 or less

[8]ページ先頭

©2009-2025 Movatter.jp