Is it possible to create wall/ceiling masks?
For example, in the Sims series, when you place a window or door onto a wall, a 'hole' is cut into it (eg. it's masked out) so that it looks like there's nothing intersecting with the window/door mesh. Using the same sort of principal I would like to install inset ceiling lights--so somehow pretend to cut a hole into the ceiling as to not obstruct the light mesh. It does not need to be in real time, just as something useful for modular level building so that I won't have to pre-make actual holes in the ceiling mesh (and have to change them if I wanted to change the shape of the light).
Is something like this possible?
asked Aug 21 '15 at 01:54 AM in Rendering
I think the sims(and most other games) have Separate wall segments as long as their snapping points are apart. then they swapped out the segments if you wanted a window there with some that had a hole built in.
Re-building/re-texturing a mesh at runtime would be very expensive.
Alternatively, for ceiling lights, you could fake a hole with your normal map, for walls, the pre-built sections with hole built in seems like the best option.
answered Aug 21 '15 at 03:36 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here