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"

Rendering to non HDR, non sRGB RenderTarget in Blueprints

I'm using 4.13 new feature which allows me to render to RenderTarget from a blueprint. It works great most of the time, except for one strange thing.

What I do:

  • on begin play: clear render target to black (do not clear RT on tick!)

  • on tick first: rendering the quad over the whole RT using transparent mode with color like this (0,0,0,0.01) (i.e. it will darken the whole render target slightly)

  • on tick then: render some moving textures using transparent mode (i.e. similar to moving particles)

  • result: moving sprires will leave small trails behind which will be faded out eventually due to blending with (0,0,0,0.01) color every tick

Basically it works OK, however only when HDR option is enabled in RenderTarget settings. The format will be FloatRGBA in this case. But I don't need any HDR, I need regular color, so I disabled HDR. This is where things start to break. Now I see unexpected huge trails behind my moving textures which decay very slowly. I've tried many formats of the RT, but trails persist if HDR is disabled. Enabling HDR makes RT a lot bigger in memory, so not an option.

Corrent version (with HDR) alt text

Wrong version (without HDR) alt text

Which options I need to check if I want simple rendering to non HDR, non sRGB render target since the data in render target is not a regular color, but will be used for further processing?

Product Version: UE 4.13
Tags:
wrong.jpg (188.9 kB)
correct.jpg (150.5 kB)
more ▼

asked Sep 05 '16 at 10:30 AM in Rendering

avatar image

devast3d
242 15 19 47

avatar image vlad_saritasa Nov 15 '18 at 10:48 AM

Did you find the answer in the end?

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

0 answers: sort voted first
Be the first one to answer this question
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