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 switch between post process material instances?

I'm trying to make different outline for objects in case of cursor hover. In other words I reading value of public enum and then switch between materials. I make 2 material instances: hithlight_container (green), highligh_enemy (red). So if I point enemy, the red outline appears, then I point container, green outline appear. And when I point enemy again, green outline appear. But if I start the game, point container, see green outline, when point enemy, see green outline again. I tried to set various weight, but the problem is not gone. Please see the screenshots and sorry for my bad English. alt text alt text alt text alt text alt text

Product Version: UE 4.17
Tags:
more ▼

asked Nov 04 '17 at 02:21 AM in Blueprint Scripting

avatar image

Oleg_Kolyada
11 2 5

avatar image Oleg_Kolyada Nov 04 '17 at 02:23 AM

alt text alt text alt text alt text

step2.jpg (47.8 kB)
step3.jpg (32.5 kB)
case2step1.jpg (40.0 kB)
case2step2.jpg (29.8 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I got working solution for UE v.4.17. Here is the youtube video: https://www.youtube.com/watch?v=4taY47ZCzzQ&feature=youtu.be

Also I can show material scheme if you ask for it.

more ▼

answered Nov 04 '17 at 11:17 AM

avatar image

Oleg_Kolyada
11 2 5

(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