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 draw a mesh's wireframe and its material

Hi, i have two materials for my mesh... a normal one with a texture and normal-map and a second one, where i selected wireframe and set the emissive color to get a nice glowing wireframe...

now i want to use the normal material and let the wireframe glow on the same mesh....

As far as i can tell you would create a material function and blend between them but i cannot find any reference to the wireframe functionality...

Is there any possibility to draw the wireframe and the material at the same time?

alt text

here i used a blueprint, dublicated the mesh and applied two different materials... it kinda works but it doesn't seem like the right way to do this...

Product Version: Not Selected
capture.png (381.5 kB)
more ▼

asked May 08 '14 at 02:33 PM in Rendering

avatar image

329 10 16 33

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

2 answers: sort voted first

Hey Dave4723 -

You are correct that the blend of the two materials would be the way to get this effect. If I am understanding what you are looking for, you will want to add a "Make Material Attributes" before the Output module in the Material Function, then build one of your materials.

Good Luck - Eric Ketchum

Also Dave4723, Take a look at this tutorial on our wiki which might help you out https://wiki.unrealengine.com/Creating_Layered_Materials_(Tutorial)

more ▼

answered May 08 '14 at 08:07 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.8k 702 260 736

avatar image Dave4723 May 09 '14 at 04:13 PM

yes BUT where can i set the material attributes to wireframe?... that's what i didn't find :)

avatar image GeoffreyLillemon Jul 28 '15 at 05:18 PM

hey dave, did you ever find a way to set the material attributes in a material function to wireframe?

avatar image B4LTIC_[PJKZ] Mar 25 '16 at 04:12 PM

also looking for an answer to this !!!

avatar image Lovecraft_K ♦♦ STAFF May 09 '14 at 09:35 PM

Hey Dave4723 -

I am looking into a more streamline way to achieve this effect, but I understand what you are looking for now. One possible solution would be to render out a black and white texture of the mesh in wireframe and then build your emissive material by multiplying your wireframe texture by a 3 constant.

If you need clarification let me know, Eric Ketchum

avatar image Dave4723 May 10 '14 at 05:23 AM

Thanks! that should get it done

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

I don't believe this is possible. To make a layered material as many people seem to suggest does not solve the problem. If you toggle the "wireframe" on a standard material, and plug a series of layered materials into that using "material attributes" the wifreframe from the standard material will override the previous layered material work. Anywhere you have white in your alpha (or all of it if you are not using an alpha) will become wireframe. Seems like an odd conundrum .

more ▼

answered Oct 02 '16 at 03:46 AM

avatar image

966 143 150 390

(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