Modular dungeon final project - WIP/Diary

Love the broken walls and the ceiling. The scattered broken debris looks great. The yellow lighting is awesome.

1 Like

So doors…

Those are not obvious if one wants them to open up correctly. Seems that not only scales cause issues, but also construction of doors. Especially with such archways… Banging my (and bothering many people on discord :sweat_smile:) head around this problem I come to the conclusion that there are just couple of approaches:

a) having tight fit of doors to frame in the center of archway - geometry will intersect at times when opening doors, but one can open them both ways.
b) having big gap and narrow archway (and variations of thereof) - geometry might intersect a bit, but shouldn’t be really noticeable.
c) having doors on one end of archway, opening only one way. Not ideal for games, but that’s how real life doors work.
d) Squared doors in arched frame - opening works well, but we loose the arched look of the door.

So it seems that here there are only tradeoffs. Unless we use doors just as a decoration/visual clue (so they will not open, just teleport player to different area).

I settled on… all of them (aside from b) ), providing variants that can be used in different scenarios:

3 Likes

Interesting door issues. The unreality of wanting them to open both ways at the root of it.

Of course, gaps would exist, drafts are common!

You could hinge on the floor like a drawbridge! :grin:

2 Likes

Yeah… when modelling stuff to be used in games there are a lot of those unexpected challenges. I actually was sure that making doors will be 10 minutes-long job… but searching and checking and discussing… and it took me most of yesterday. But I also made a tutorial:

2 Likes

Discovered one more problem with what I was doing previously. With UV coordinates scaled to 0 (for ease of coloring with palette texture)… unreal cannot generate correct UVs for lightmaps. So I had to go through all ~550 modules and fix the UVs, test them in unreal, etc. That took a long time…

I started again moving with adding new modules, still around door theme - door frames:

3 Likes

Ah, so those lessons suggesting that scaling to nothing are not right or advisable?
UVs for lightmaps? Game engine stuff?

2 Likes

Lightmaps are game engine stuff. They are used for static(baked) lighting. With wrong lightmaps you’ll have shading artifacts.

I’m not sure if lectures suggest that. The new remastered version of the course use simple materials I think. I learnt this technique long time ago from Imphenzia. Didn’t question it at that time, as it works well in blender and I only use dynamic lighting.

2 Likes

I think unreal lets you use two sets of UV maps, one for shading, the other for lightmaps. Blender lets you have a second UV map. Though that won’t solved the problem of 550 re-dos.

2 Likes

Yeah, exactly. I used combination of both methods. Especially that the more I think about UVs scalled to 0, the more it seems that it can cause potential other small problems.

1 Like

And thanks for the advice!

1 Like

One of the courses uses an absolutely tiny colour atlas, can’t recall which. I do not think it is said ‘scale to zero’, but it is scaled to a dot.

2 Likes

Putting it on hold now to do Low Poly Graveyard Game Ready Assets Pack WIP Thread first :slight_smile:

1 Like

Privacy & Terms