- cross-posted to:
- gamedev@lemmy.blahaj.zone
- bevy@programming.dev
- projectharmonia
- cross-posted to:
- gamedev@lemmy.blahaj.zone
- bevy@programming.dev
- projectharmonia
I working on an open source life simulation game with the working title Project Harmonia using Bevy.
It was an interesting task and I learned a lot about how meshes are represented internally.
Initially I used 8 vertices for each wall. But then I discovered that if I needed a different color and normal for each side, then I needed a different vertex! So I reworked the mesh generation to make 20 vertices per mesh (for each side with no bottom).
You must log in or register to comment.
New Lemmy Post: Added UV for generated walls (https://programming.dev/post/9162357)
Tagging: #GameDev(Replying in the OP of this thread (NOT THIS BOT!) will appear as a comment in the lemmy discussion.)
I am a FOSS bot. Check my README: https://github.com/db0/lemmy-tagginator/blob/main/README.md