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 create an effect on a camera?

(OSX.) (C++ or blueprints work.) I'm trying to make a system so when an AI element is close to the player, there could be a distorted black and white or red effect on the camera. When a good distance is created between the both the effect vanishes. Any help would be greatly appreciated!

Product Version: UE 4.13
Tags:
more ▼

asked Sep 21 '16 at 01:24 PM in Using UE4

avatar image

Jackenstein
33 14 10 14

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

1 answer: sort voted first

This sounds like a job for a post process material. You make whatever effect you want in a material and set it to be a post process material.

Then, to know what you want to apply this effect to you check the distance to the player in the ENEMY blueprint and if close enough enable draw to custom depth in the blueprint. Please refer to this link for more info.

HTH

more ▼

answered Sep 21 '16 at 01:42 PM

avatar image

NoobsDeSroobs
2.7k 107 35 180

avatar image Jackenstein Sep 27 '16 at 11:05 PM

Thanks! I will give it a go.

(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