8Bit on Nostr: And managed to fix the alpha sorting issues in my procgen meshes without any help ...
And managed to fix the alpha sorting issues in my procgen meshes without any help from SurfaceTool! Which is really handy, because having SurfaceTool sort the mesh data costs anywhere up to 4ms.
But knowing what I had to do, I rewrote my code to generate the meshes with proper data order and... at worst it cost me about 0.05ms.
So... we're still in realtime budget, despite all procgen code being just GDScript.
Published at
2024-04-18 00:31:36Event JSON
{
"id": "d968e57da7f6c201f05d58c24f2ffa18390afc3e0d49848ff7999354ea2ccb08",
"pubkey": "ad4a7283879c2927e8546ae65273cfdee982acb9bc646f0014a37d61f899c484",
"created_at": 1713400296,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.gamedev.place/users/memoriesin8bit/statuses/112289401843099233",
"activitypub"
]
],
"content": "And managed to fix the alpha sorting issues in my procgen meshes without any help from SurfaceTool! Which is really handy, because having SurfaceTool sort the mesh data costs anywhere up to 4ms. \n\nBut knowing what I had to do, I rewrote my code to generate the meshes with proper data order and... at worst it cost me about 0.05ms.\n\nSo... we're still in realtime budget, despite all procgen code being just GDScript.\n\nhttps://cdn.masto.host/mastodongamedevplace/media_attachments/files/112/289/386/796/878/582/original/3a5888406485ae2a.png",
"sig": "18d8b350da397d3b41cc03d2433fe5b5721c6d649f7d6f3174e6aca6b163c5e39e4de20d8451b213933684dbebd04b218fbd0097be59b885a032c9db1b255fcf"
}