Skip to content
Interior mapping shader for Unity with a sample scene. This is provided as is, for learning purpose. You can use it freely for your personnal or commercial projects
Branch: master
Clone or download
Latest commit 7819425 Oct 4, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
Assets First commit Oct 4, 2018
Doc Pics added Oct 4, 2018
ProjectSettings First commit Oct 4, 2018
.gitattributes Initial commit Oct 4, 2018
LICENSE Initial commit Oct 4, 2018 Update Oct 4, 2018



This is an implementation of the interior mapping shader in tangent space for unity. It support basic features like rooms variations, room size, various windows models (windows blinds positions ...) as well as some advanced features like windows refraction, corridors between rooms, light projected from the windows, shadows from external occluders (works for directional light), funky bouncing sphere and random decorations placement.

alt text
alt text
alt text

This project is provided as as, for learning purpose. You can use it freely in commercial and personnal projects No support will be provided ... it has been only tested on windows/DX11 platform so far.

The shader requires :

*An interior atlas with the albedo of the interior ... 4x4 textures: - first column is the ground texture - second column is the ceiling texture - third one is the sidewall texture (streched x2) - fourth one is the backwall texture (stretched x2) *window atlas with 4 variations of the window (open->closed window blinds) *window normal map *window Roughness/Metalness/Glass texture (glass is used as mask for some effects in the shader.)

Optional : *Decoration atlas with 4 walls random feature/poster/whatever you want ...

A samples scene is provided with several variations of the shader.

I hope you'll enjoy it, have fun!

You can’t perform that action at this time.