Hi,
I am trying to create a new interface for my home automation project. The Idea is to have a 3d model of the house and show the status of the actual lights by highlighting virtual lights in the 3d house. Later this can be used to highlight floors whenever a motion sensor for a room is triggered.
For this I created a scene in blender. The scene has two point lights and one hemi light and i use the BABYLON.ScreenLoader to load the entire scene.
It looks like this when the lights are on
And like this when the lights are off.
The problem is that even though the walls are opaque, when the light is on it passes through the walls. I have highlighted the area with Red rectangles.
Any idea, why this is happening? or what should i do differently to avoid this?