Tuesday, 9 May 2017

Modular Wall Pieces and Materials for them

I've been tasked with making a more substantive and up-to-date version of a modular kit for our walls. Are current ones are good but are rather plain and repetitive so I wanted some that would be more extensible, variable, with more pieces and options for building out a layout.

Here are what I came up with :



Moving into the engine, I wanted people to be able choose whatever wallpaper they wanted so that we could use the pieces in all the rooms but keep things feeling different I made it with two Materials and unwrapped the walls so that the textures tile horizontally perfectly between all the pieces.

For the wooden parts, I needed to ensure that the wood texture tiled across all the pieces but I also wanted unique normal data for each piece. As such, I set up the material in such a way to allow that, and because of the way I had structured it, I realised I could use the unique UV's to create masks that let me add further detail like dust and edge wear in the shader. This is what the master material looks like:

This contains parameters for the mask textures + unique AO (which are packed), unique normal, edge wear and dust opacity and color. When I create a material instance of this I can easily swap out the textures in order to get the unique data for each modular piece that is required.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.