emirhanyener / three-interior-plane
PublicInterior mapping with shader in Three.js. Color and texture of all surfaces can be individually changed using shader uniform.
This is a visual effects library for Three.js that creates the illusion of interior rooms inside a flat surface. Instead of building complex 3D room geometry, you place a simple plane that automatically renders as if it contains multiple rooms with walls, floors, and ceilings. Each surface can have its own color or texture, and you can control how deep the rooms appear and how much shadow fills them. It's useful for game developers or web creators who want stylized building exteriors without heavy 3D modeling work.
How It Works
You're building a game or interactive visualization and want buildings to look like they have real rooms inside them.
You find this tool that creates the illusion of depth inside a flat wall, making it look like it contains dozens of separate rooms.
You can set the color and texture for each wall separately: front, back, left, right, ceiling, and floor all get their own look.
You bring this component into your scene and watch a flat surface transform into a multi-room interior instantly.
During your work, you change the depth of the rooms, switch colors, add wood textures to floors, and adjust how dark the shadows appear.
Your buildings now look like they have real depth inside them, impressing everyone who sees your project.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.