• 0 Posts
  • 10 Comments
Joined 3 个月前
cake
Cake day: 2024年7月2日

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.