• 0 Posts
  • 19 Comments
Joined 5 months ago
cake
Cake day: July 2nd, 2024

help-circle

















  • Of course it does, you can achieve that with a simple vertex shader by just moving each vertex in the direction of its normal. However, since the vertices are joined into triangles, this will just result in the model getting bigger instead of “disintegrating”.

    For that to work, you would need a model where each triangle is a separate surface.

    Another way which might work would be to enlarge the model like I illustrated above while simultaneously making pixels which are further from an edge than a threshold value transparent.