Surface Nets experiments using Task / Mesh shaders

Publié le: 01 juin 2026
sur la chaîne: Jed037
214
9

The mesh shader in this scenario is the bottleneck as it cannot feed the rasterizer fast enough. This is expected as it is running the SN algorithm on a per-frame basis. This could be very interesting when coupled with some sort of fluid simulation, as this can allow you to convert fluid simulation particles (in the case of SPH) directly to a mesh that the rasterizer can render.

It is also worth noting that in the case of static geometry or geometry that does not update on a per-frame basis, you could run the SN algorithm prior to this and cache the results (save meshlet vertex/triangle in a buffer), and render those using Mesh Shaders / Task Shaders for culling.

The advantage of running the algorithm in the mesh shader like this is that LODs & resolution selection become trivial, as you can scale the meshlets and the chunks however you like without having to calculate octrees or quad-trees (but of course in my implementation I did not implement anything like skirts to hide the gaps between chunks of multiple LOD levels).


Sur cette page du site, vous pouvez voir la vidéo en ligne Surface Nets experiments using Task / Mesh shaders durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Jed037 01 juin 2026, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 214 fois et il a aimé 9 téléspectateurs. Bon visionnage!