13
Added UV for generated walls (files.mastodon.social)
submitted 10 months ago by Shatur@lemmy.ml to c/gamedev@lemmy.blahaj.zone

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).

top 1 comments
sorted by: hot top controversial new old
[-] TeaHands@lemmy.world 2 points 10 months ago

Nice! This is the sort of thing that, to be honest, is still very much over my head. Which just makes me appreciate it more in others 😅

this post was submitted on 26 Jan 2024
13 points (100.0% liked)

GameDev

1 readers
1 users here now

A community about game development.

Rules:

More rules might follow if they become necessary; general rule is don't be a pain in the butt. Have fun! ♥

GameDev Telegram chat.

founded 2 years ago
MODERATORS