Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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?

Product Version: UE 4.8
more ▼

asked Aug 21 '15 at 01:54 AM in Rendering

avatar image

166 33 43 56

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Aug 21 '15 at 03:36 AM

avatar image

991 34 3 41

avatar image sgp Aug 22 '15 at 02:03 PM

Thanks, I'll probably just go with the normal map route. Or avoid inset lights...

I have created custom content for the Sims before and while they do use wall segments, they also do use actual masking textures to fake holes in said segments. Translated into UE4's material system I guess it could be done by having a texture sampler parameter for the opacity of a masked material and passing that mask texture in. (However this wouldn't work well for ceilings because it's very nice poly-count wise for them to be just one big plane of arbitrary size and UVs as opposed to several ceiling segments.)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question