Surface Nets experiments using Task / Mesh shaders

Publicado el: 01 junio 2026
en el canal de: 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).


En esta página del sitio puede ver el video en línea Surface Nets experiments using Task / Mesh shaders de Duración hora minuto segunda en buena calidad , que subió el usuario Jed037 01 junio 2026, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 214 veces y le gustó 9 a los espectadores. Disfruta viendo!