Simulation of the "Interior Mapping" technique through Nodes


(mano-wii) #1

Interior Mapping is a technique that renders the interior of a building when looking at it from the outside without the need to actually model or store this interior.
This technique is used in games like Grand Theft Auto, Saint’s Row, Superman Returns and Spiderman.
I was able to simulate the original technique through the Blender nodes. Here the result:
magic2

The original technique is written directly in the shaders and has the advantage of also writing the depth component, which is useful for intersections and shadows.

I intended to do a tutorial, but it would be very extensive (and complex).
So I share here just the blend file with the material for you to test:
Texture_Fake_Rooms.blend (747.4 KB)

It was an interesting challenge, enjoy it.


(Txeroki) #2

Thanks for this :+1:


(BluePrintRandom) #3

nice you were able to convert it!

with the nodes we have now was it much less nodes?


(Edmis) #4

Superb nodes


(polygonsoul) #5

Thank you very much for your work, I would really like to test it, but I am too stupid to connect image textures to your shader, I see there is a texture ceiling64.tga but it is not wired up. Thx in advance!


(bika) #6

I’m sorry but I’m not an expert on nodes… i couldn’t find where i should put my image and such at the node that you presented.
I hope you wouldn’t mind to help me understand more… it is such beautiful works btw!


(-L0Lock-) #7

I guess it’s supposed to be placed just between the Emission shader’s color input and the nodes noodles.

Howerer it seems that a special texture is used as well, but it didn’t get packed correctly in the .blend.


(mano-wii) #8

… i couldn’t find where i should put my image …

You put the image between the uv socket and the mix node:

Here is the file with images:
Texture_Fake_Rooms.blend (755.6 KB)


(bika) #9

AMAZING!!:astonished: Thank you soo much for the help! :clap::clap::clap:


(polygonsoul) #10

Thank you very much for info and file! Was somehow expecting a single cubemap…


(mano-wii) #11

For more efficiency it is better to edit the nodes to merge all UVs into a single combination to use a cubemap.
(I did not do this to avoid complicating it further).


(polygonsoul) #12

Ah ok, thanks, you have had that in mind already, would it be hard to implement? Just curious about this techniqe, with possibilities for curved projections and some randomization methods this could be quite powerful for mid- and background architecture!


(NutsForNuts890) #13

That’s amazing, well done!


(mano-wii) #14

Woow! Nice work polygonsoul!
I’m glad to see this technique being used to archviz renderings in Blender.
I see it’s worth continuing to edit in this shader.

Thank you all for the kind words :slightly_smiling_face:


(Blender Foundation CERTIFIED TRAINER) #15

If you’re out of time do like I do: just record everything on one go capture, speak whenever you feel like and send the “uncut” version to youtube. That’s it. Whosoever would like to follow along will know “how to skip intros” :smiley:


(BluePrintRandom) #16

should probably link to this - Interior Mapping with GLSL Node Material (Update)

it’s the original version of the shader in blender internal nodes.


(mano-wii) #17

should probably link to this - Interior Mapping with GLSL Node Material (Update)

it’s the original version of the shader in blender internal nodes.

This is a big coincidence (even in the textures used)!
I was not aware of this thread or node tree so far.

Thanks for sharing.