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"

NoDraw Material

Hello there. I come from Source Engine and I've noticed there's nothing like a 'NoDraw' texture. What this texture does is it will avoid that face from rendering. So, for example, I would like to apply it in the lower part of floor models and stuff like that, in order to improve performance. If not, the levels will have a ton of textures being calculated that aren't actually going to be seen. Any ideas?

Product Version: Not Selected
more ▼

asked Sep 06 '15 at 12:01 PM in Rendering

avatar image

166 15 21 34

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

1 answer: sort voted first

In that case the standard is to just remove the faces from the meshs thus not only saving on draw calls/whatever but also on number of verts/tris in the scene which are always going to take some performance due to overlaps, linetraces etc.

The cloest thing I can think of is to set a material that has a color of 0,0,0,0 RGBA but of course that would require you to re-unwrap the object or change it materials or have two meshes entirely (even worse)

Removing the unseen faces during the optimzation phase of development is the standard.

There might be come c++ workaround tricks, but none that will vase you any performance that I can think of. Your already getting alot of performance saved because of backface culling. With a floor mesh in a characters view, the render engine doesnt render any of the bottom faces, and not the far side faces. Only the top, front, left/right faces.

Don't forget to accept an answer that best clears your question up or answers it so when the community finds your question in the future via search/google they know exactly what you did to fix it/get it going.

more ▼

answered Sep 06 '15 at 03:02 PM

avatar image

1.8k 67 27 137

avatar image mago314 Sep 06 '15 at 04:12 PM

Ok, so I should remove the faces that wont be seen? Thanks for the great and quick answer!

avatar image Nsomnia Sep 06 '15 at 07:49 PM

Thats really the most realistic thing I can see, and the most performance gaining. Its just what most/everyone does not to say its right, but its standard. Just like prefixing blueprints with BP_

(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