Thick Sprite Mesh
Zhixiang
$5.49
(no ratings)
Date |
Price |
---|---|
Date |
Price($) |
10/17(2024) |
5.49 |
11/22(2024) |
5.49 |
Jump AssetStore
The ThickSpriteMesh.cs script generates a 3D mesh from a 2D sprite, adding thickness and customizable side faces.The ThickSpriteMesh.cs script allows you to effortlessly convert 2D sprites into 3D meshes with adjustable thickness. It generates a mesh where the front and back faces retain the shape and appearance of the specified sprite, while the side faces can be customized with a color, texture, or material of your choice.- Generates a 3D mesh from a 2D sprite, preserving the sprite's shape and appearance on the front and back faces.- Allows customization of the side faces with three modes: Color, Texture, or Material.- Supports adjustable thickness of the side faces in local space.- Provides a Refresh method to update the mesh during runtime when fields are changed programmatically.- Uses Unlit/Texture shader by default for front and back faces to display the sprite accurately.- Offers flexibility to assign custom shaders/materials to the front, back, and side faces for complete control over appearance.- Full source code provided.