x

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"

How to make an object not render if its material hasn't finished streaming?

Sometimes in our game, we're finding that objects whose materials/textures haven't fully loaded are displaying as a fully-opaque default textures - when these are subtle background effects that we'd much rather simply not appear while they're streaming in (for example, smoke effects and the like). Is there a way to simply suppress the rendering of an object whose textures aren't yet ready?

Product Version: UE 4.11
Tags:
more ▼

asked May 16 '16 at 05:19 PM in Rendering

avatar image

jshagam
36 1 3 5

avatar image RimmyD May 18 '16 at 06:17 PM

This sounds less like streaming and more like material compilation.

Is this in a standalone build or running in PlayInEditor? PIE has issues with this as where standalone should take the time to first compile your materials.

avatar image jshagam May 18 '16 at 06:35 PM

I've seen it happen in both.

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

1 answer: sort voted first

If you are seeing the default unreal material (gray checker boxes) at first then seeing your material pop in then that is usually a matter of material compiling.

Be sure the usage flags in your materials are set correctly. This can cause stand alone to not compile correctly but the editor will automatically set the flags but may need to recompile at runtime.

more ▼

answered May 18 '16 at 08:59 PM

avatar image

RimmyD
2.6k 98 15 96

(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