Vertex Thickness Generator

$24
Publisher Amazing Аssets
File size 2.33MB
Number of files 4
Latest version 2024
Latest release date 2024-03-30 01:56:14
First release date 2021-09-07 03:10:16
Supported Unity versions 2018.4.2 or higher

Editor and runtime solution for calcualting per-vertex mesh thickness (based on the GDC 2011 Colin Barre-Brisebois talk), that can be used in various calculations and effects (not included in this package) like translucent and subsurface scattering shaders, soft-body simulation and others.


Editor tool bakes calculated thickness values inside any vertex buffer of a mesh and supports all render pipelines.


Runtime API adds extension method to the Unity's mesh class and returns float[] array containing each vertices thickness value. Supports only Built-in and Universal render pipelines.


Before purchasing check documentation for better understanding how tool works and what limitations it has and try this editor tool on your models, to see how mesh thickness is calculated and what results expect.


Asset is already included in the Amazing Tools Bundle.



Note:

• Scripts are packed in dll.

• Mesh thickness is calculated per-vertex. Its quality and calculation speed depends on the mesh vertex count and vertex/triangle layout.

• Calculated thickness values always are in the range of [0, 1].

• Do not confuse this asset with subsurface scattering or any other shader packages. Non of such shaders are included here - only mesh thickness generator tool.



Have questions? Forum.

Support and bug report: [email protected]

---------------------------

Supported Unity versions:

• Unity 2019.4, 2020.3 and 2021.3 LTS versions are fully supported.

• Unity alpha and beta versions are never supported.

• Unity 'tech release' versions are not officially supported.

Top Publisher Assets