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"

Wireframe material over another material

Hi all, so i made a wireframe material and Im trying to put it on top of another material in order to have it glow on top of the item's texture. Can anyone tell me how to do that ? thanks a lot

Product Version: UE 4.11 Preview
more ▼

asked Mar 25 '16 at 07:26 PM in Using UE4

avatar image

28 5 5 8

avatar image B4LTIC_[PJKZ] Mar 29 '16 at 11:00 AM

bump ?...

avatar image Ican'tfindmyglasses Mar 29 '16 at 02:11 PM

I think that layered materials is what you are after. Here is a video explaining the idea.


avatar image B4LTIC_[PJKZ] Mar 30 '16 at 03:03 PM

no, layered materials seem to be for different parts of a model. I want to draw the wireframe material and the normal material on top of each other.

avatar image B4LTIC_[PJKZ] Mar 31 '16 at 09:58 AM

someone please ?

avatar image keyle Jul 22 '16 at 01:02 PM

I have the same question. No answers yet.

avatar image HolyAyin Sep 19 '16 at 09:43 PM

I tried doing this with material functions, but I don't see a wireframe option with material functions.

avatar image Andrei Despinoiu Aug 15 '17 at 11:53 AM

Sure there is.

alt text

The "Wireframe Color" node is a simple VectorParameter named that way, and the "Emissive Strength" node is ScalarParameter named that way, too.

Another way would be to sample a texture over the mesh (plugged into the "Emissive Color" pin of the final node) and tile it so it aligns just right, as mentioned here: https://answers.unrealengine.com/questions/78386/wireframe-material.html

screenshot.png (512.5 kB)
avatar image daeyvee Aug 22 '17 at 08:12 AM

Andrei, this is a Material, not a material function. There seems to be no option for wireframe in material functions

avatar image vochal Aug 16 '17 at 10:49 AM

Hi! I have same problem. Yeah there is wire frame option in material node, but is useles. You need to find how to turn on wireframe in material function(i think it is not there-or am i wrong?). I need to find solution without second mesh or texture. Thanks for any advice

avatar image IGorilla Aug 22 '17 at 08:20 AM

Im pretty sure youll need a second texture for the wireframe. The wireframe option is literally just toggling the mesh to display wireframe or not. You cant have the wireframe option in function because no mesh exists there

avatar image vochal Aug 25 '17 at 10:10 AM

Yeah you right-but thats what i want to to avoid. I solved it with second mesh with wire turn on. Problem with texture is that is hard to get quality one(its hard to set up render to texture to render nice smooth lines) and it take a lot of time to do that-and i have lot of objects./ But thanks for suggestion

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

1 answer: sort voted first

I have found a workaround. You'll need 2 meshes overlapping each other.

Add the Wireframe material on one mesh, and the Material of your choice on the second. Now add a simple scalar value 0.2 to your second material's Pixel Depth Offset node. Pixel Depth Offset Node

Have Fun!

pdo.jpg (48.4 kB)
more ▼

answered Mar 06 '18 at 04:45 AM

avatar image

6 1

(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