DEV Community

Dustin Runnells
Dustin Runnells

Posted on • Edited on

1

Room Textures

Had a chance to spend a couple of more hours on this game idea. Since every room in this game is going to probably need it's own walls and floor, I am trying to figure out how to add textures to the room objects. My initial experiment had 5 separate boxes that I expected that I'd be able to just add an image to separately for the walls, floor and ceiling. Thinking more about this, it seems like it might be better to have each room be a single 3d cube/mesh and do something with UV materials/textures. Diving into this, I've created a "room" in blender, unwrapped it and exported a PNG that I'll be able to use to add some detail to the walls. I can edit the PNG and make each room unique. Eventually, I'll make a level editor that lets me add images to each wall and generates the combined PNG for me. Here is today's progress:

Image description

I need to figure out why making my rooms this way leaves the second story floor weird when two rooms are next to each other. This must have something to do with culling or the transparency option.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay