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"

Black border lines in AVI/JPG/PNG after rendering


Is there a way to get rid of black border after rendering to movie/JPG etc? I always get 1 pixel black border lines. You can try to recreate this very easy: just make a pixture 10x10 pixels and zoom in. You will see that the picture has black lines on every side. Your image will be 8x8 pixels. Why do I get those black lines? What is the purpose of this? And the most important - how do I get rid of it? :)

Cheers, Lucas

Product Version: Not Selected
more ▼

asked Sep 19 '14 at 10:45 PM in Rendering

avatar image

66 6 12 15

avatar image Lovecraft_K ♦♦ STAFF Sep 22 '14 at 06:44 PM

Hey Illusionray -

I need a little bit of clarification on your issue? Are your trying to render a image or movie from UE4 directly and if so are you doing through a matinee or are you using a console command? Screenshots would be helpful as a reference as well.

Thank You

Eric Ketchum

avatar image icannotfly Sep 23 '14 at 05:13 PM

Eric, I think I can provide some additional information. From Lucas' description, I think he and I are having the same issue.

This screenshot is from a game run by passing the commands -ResX=1920 -ResY=1080

This is a zoomed-in portion of the top-left section of that window in which you can see the black border.

The border doesn't seem to be part of the window decoration, because when you crop the first screenshot to 1920x1080, the black border is still present.

avatar image Illusionray Sep 23 '14 at 07:30 PM


Yes, icannotfly shows exactly what I mean. There are black borders on the edges. This is a problem for me because I want to make a panorama and my idea was to rotate equal 90 degress and stitch those images. Everything would be fine but in my images are those lines present and I can see very clearly where the stiching is.

Cheers, Lucas

avatar image Lovecraft_K ♦♦ STAFF Sep 23 '14 at 08:11 PM

Hey Guys -

Thank you for the clarification. I was able to reproduce this internally and have entered a Bug report for this behavior. For future reference it is TTP# 347485.

I will keep you informed as we investigate this issue.

Thank You

Eric Ketchum

avatar image icannotfly Sep 25 '14 at 05:06 PM

Thank you!

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

1 answer: sort voted first

You can disable this behavior by typing this into the console: r.BlackBorders 0. Or you put r.BlackBorders=0 into consolevariables.ini

It's an efficient/simple way to fix artifacts for some post process effects that otherwise would be more costly to solve. It might not be often needed and we should be able to fix the issues with 0. I will check on that.

more ▼

answered Sep 24 '14 at 03:34 PM

avatar image icannotfly Sep 25 '14 at 05:06 PM

Adding that to consolevariables does indeed remove the lines. Thanks for the prompt response!

(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