Nikita Lisitsa on Nostr: So by manually poking around I've found that disabling texture read (needed for ...
So by manually poking around I've found that disabling texture read (needed for discard alpha testing) in shadow passes makes them about 50-75% faster. Making all draw calls read the same texcoord also works, though the gains are smaller. Am I actually texture bandwidth bound? 😭
Published at
2026-02-21 09:18:56 UTCEvent JSON
{
"id": "d1d6fc9af569bbc484a1eecf5c14ebdabd6e2c08f12739ccbb81df7223bc677c",
"pubkey": "45349ed8024c7a2a802773edc9aac7a1a4cc34bc4a3d68f29b178c6ed03755df",
"created_at": 1771665536,
"kind": 1,
"tags": [
[
"imeta",
"url https://cdn.masto.host/mastodongamedevplace/media_attachments/files/116/107/872/364/613/589/original/a413b3f7213cc6e3.png",
"m image/png",
"dim 1024x1024",
"blurhash URD]6T^%S^9Z~n%1s-M|Vswct7x[m-r?OXtR"
],
[
"proxy",
"https://mastodon.gamedev.place/users/lisyarus/statuses/116107872589639879",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "So by manually poking around I've found that disabling texture read (needed for discard alpha testing) in shadow passes makes them about 50-75% faster. Making all draw calls read the same texcoord also works, though the gains are smaller. Am I actually texture bandwidth bound? 😭\n\nhttps://cdn.masto.host/mastodongamedevplace/media_attachments/files/116/107/872/364/613/589/original/a413b3f7213cc6e3.png",
"sig": "00f4a0569afbc41fc70a4097f3e70edd3de9e0053cafef926fbb3f372427874fd6ef642f68c65fba349b44457a71f499e90b427fb745d14251cba3647e4a19d7"
}