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"

Is it possible to sample a scene texture at a lower resolution?

I am currently creating an outline post-processing material which utilises the custom depth scene texture to do edge detection. I am only sampling the 8 pixels around the fragment but would like to increase the width of the outline. The most effective solution I can think of is to down-scale the custom depth texture to a lower resolution when sampling it, that way the outline will be larger. However I cannot find any way to down sample a scene texture, is this possible? Any help would be much appreciated.

Product Version: UE 4.8
Tags:
more ▼

asked Jun 27 '16 at 02:57 PM in Rendering

avatar image

jctwood
3 1 2 3

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

1 answer: sort voted first

jctwood, when I've created a similar effect I've just used a larger UV offset for the 8 directions I'm sampling and it has achieved what you want. But I'd recommend you just save yourself a bunch of time and download this solution from Tom Looman and move on to the more interesting stuff that will make your game unique. :)

http://www.tomlooman.com/multi-color-outline-post-process-in-unreal-engine-4/

more ▼

answered Jun 27 '16 at 05:16 PM

avatar image

Krxtopher
825 27 15 57

avatar image jctwood Jun 28 '16 at 10:31 AM

Thank you! I multiplied the uv offset and it helped a lot!

(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