Interior mapping shader

Interior Mapping is a commonly used feature that is very helpful for saving performance and improving scene effects. However, I don’t know how to achieve this effect in Babylon. If anyone has implemented it, please share the creation method. Thank you.
内部映射效果202461994661

https://github.com/mohsenheydari/three-interior-mapping/tree/main

I’m not aware of a Babylon.js implementation of this, but it’s definitely cool and useful, and looks easy enough to port to Babylon.js.

Moved to Feature Requests and tagging @roland and @tibotiber as it may have practical use for you.

1 Like

Thanks for the tag @inteja, it’s indeed an interesting one :slight_smile:

1 Like

https://playground.babylonjs.com/#VG25E8#23
It still doesn’t work, it hasn’t achieved the desired effect.

2 Likes

Thanks! Commonly used in games with a town/city environment with a lot of shops on the streets. These areas are not interactive, you can’t enter them but you can add depth to the interiors. Before inventing this technique game devs used just a plane and a texture on it.

I heard about this stuff several years ago and if I can recall it correctly it was first introduced on a Playstation game.

1 Like

Some packs …

1 Like

Awesome stuff! :love_hotel:

Looks like you’re getting close though!

1 Like

I’ve found an experiment PG I did a while ago. It looks like it works.

6 Likes

Excellent stuff! Thanks for sharing! :heart_eyes_cat:

1 Like

It’s simply fantastic. Thank you so much for sharing.

3 Likes