Is there a good way to store data per edge in a mesh for read on the GPU, or are you better off just storing that data per triangle, even though it is likely redundantly stored on the triangle that shares the edge?
-
-
Could you spell it out a little bit more, like how youd store and retrieve the data (like, the index where edge data lived, how you'd find it)
-
Drafted this up real fast to prove the point but it probably won't compile. Been in glsl land for awhile but wrote it in as best I remember hlsl, so my syntax may be off.pic.twitter.com/SKr6vkTpid
- Näytä vastaukset
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.