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 do I smooth out these ugly edges on my render target?

How do I smooth out these ugly edges or at least remove the white pixels in my render target?

alt text

alt text

Product Version: UE 4.9
Tags:
more ▼

asked Oct 21 '15 at 10:04 PM in Rendering

avatar image

EnricoUniverse
105 10 14 67

avatar image MrGrr Oct 22 '15 at 09:06 AM

Are you able to send info on how you acheived the effect - am assuming the alpha output needs to be tweaked on the edges, if you are using a colour replacement method that is for the background

avatar image EnricoUniverse Oct 22 '15 at 09:28 AM

We used a hacky method to make the background transparent. We put a scene capture 2d very far from the spawn until it was out of our skysphere, this glitches the render target and makes everything but the sky transparent. That's why I used the oneminus node on the alpha channel to fix that issue and use it as a kind of hacky greenscreen.

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

1 answer: sort voted first

I got OK results by tweaking the following items, maybe it will help you too:

  • Material used by the Render Target > Material Node > Opacity Mask Clip Value

  • Render Target asset > Texture Render Target 2D > HDR off

  • Render Target asset > Compression > UserInterface2D RBGA

  • Render Target asset > Texture Render Target 2D > Increasing SizeX / SizeY (probably still should be a power of 2)

more ▼

answered Nov 08 '15 at 04:11 AM

avatar image

smilingrob
570 19 31 49

avatar image EnricoUniverse Nov 09 '15 at 07:50 PM

Putting it to a power of 2 and putting the compression to UserInterface2D RBGA fixed the issues. Thank you so much!

(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