1/2 In the end I implemented transparent umbrellas (for Anime City) by always drawing them on top of all other transparent objects. This is a workaround for the transparency sorting issue, not a solution, but it works convincingly enough. #gamedev #indiegame #Unity3D
1/2 In the end I implemented transparent umbrellas (for Anime City) by always drawing them on top of all other transparent objects. This is a workaround for the transparency sorting issue, not a solution, but it works convincingly enough. #gamedev #indiegame #Unity3D
0 vue
Publié le 07/10/2026 01:47
0:11
1/2 In the end I implemented transparent umbrellas (for Anime City) by always drawing them on top of all other transparent objects. This is a workaround for the transparency sorting issue, not a solution, but it works convincingly enough. #gamedev #indiegame #Unity3D
2 commentaires
?
There is no way to z-order the transparent objects in this engine?
It's GPU architecture limitation. All existing game engines out there sort transparent objects by their center of origin instead of per pixel. B/c even the most powerful modern GPU are nowhere powerful enough to render per pixel transparency in games (at playable framerates).
2/2 For a few windows (that character can get behind) glass facing inside is always drawn behind umbrella, while glass facing outside is always drawn on top of umbrella. Cases when character with umbrella walks around transparent object remain unresolved, but these are very rare.