GitHunt
HA

hannesdelbeke/unity-27-slice-shader

Unity shader, like 9-slice, but for 3d meshes! The shader automatically scales and stretches the mesh to maintain edges free of distortion

A Unity shader that works like 9-slice sprites, but for 3d meshes.
The shader automatically handles the scales of the objects,
and stretchs the center of the mesh to make edges of the mesh even size.

reused image from another plugin

original source:

i did not make this, this was forked from https://github.com/Shahzod114/unity-27-slice-shader
which is down.

The dev reuploaded it to https://github.com/specoolar/Unity-Shaders

other

  • someone made a paid unity plugin, forum, asset store
  • original reddit thread with a video showing the shader
  • another reddit thread with similar feature

Languages

ShaderLab100.0%

Contributors

Created January 27, 2021
Updated November 23, 2025