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"

Multi-pass vertex shaders

I've searched extensively to find an answer to this question but I couldn't find an example anywhere. The shader documentation isn't too elaborate and I couldn't really find an answer by going through shader code. What I'm suspecting is that I'm too much in an OpenGL mindset and that things are done differently (and are probably much easier) in UE4.

What I'm trying to achieve is the following:

  • render an object with material A

  • then render the exact same object on top of it with material B and a vertex shader that changes its geometry

I know exactly how to do this in OpenGL but I haven't got a clue how to do this in UE4.

Any hints would be appreciated.

Product Version: Not Selected
Tags:
more ▼

asked Nov 22 '14 at 08:31 AM in Rendering

avatar image

MasDennis
11 2 2 4

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

1 answer: sort voted first

I found my answer in this question: https://answers.unrealengine.com/questions/8252/request-multipass-blend-texture-fur.html The answer is no. I'll have to duplicate the mesh manually and apply a material to it.

more ▼

answered Nov 24 '14 at 09:18 AM

avatar image

MasDennis
11 2 2 4

(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