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"

Drawing a texture from a Render Target and applying it to a model results in washed out colors

Hey folks,

maybe you can help me with this problem I've been having - I draw a texture to a Render Target that is used by a SceneCaptureComponent2D and then I pull out the texture data again as a Byte Array; when applying a texture built from this Byte Array, the colors appear all weak and washed out. I found similar issues connected to Render Targets in older threads, but unfortunately none of the suggestions fixed my problem. Here is my SceneCaptureComponent2D setup; I already tested all the different Capture Sources that seemed to make sense and the result did not change at all.

alt text

Product Version: UE 4.18
Tags:
more ▼

asked Mar 28 '18 at 12:52 PM in Rendering

avatar image

MarieArts
6 2 5 5

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

1 answer: sort voted first

Apparently setting the resolution of the Render Target to a fixed value (1024x1024 in our case) caused these issues; when we set the size of it to the size of our current texture divided by 2, 4 or 8 the colors remained on their original values.

more ▼

answered Mar 29 '18 at 09:30 AM

avatar image

MarieArts
6 2 5 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