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"

Base color values used by Android ES2/3.1 renderer are wrong, and clearly different from SM5 values

I have recently ran into an issue when packaging a project for mobile. In the mobile renderer, the final scene colors are overly saturated, there is too much contrast, and the image overall looks nothing like it does in SM5.

The color values are actually wrong and don't represent the base color of the material at all - you can see this in the comparison image: even the mobile unlit viewport does not match the regular unlit basecolor value.

The materials are very simple - a vector parameter for the base color. There is no post-processing or tonemapping of any kind in the scene. The objects displayed are static geometry with a simple light bake.

There is clearly a mismatch in the color values used by the renderer, as if it applies an additional gamma curve or some other type of grading to the values before using them.

What is the reason for this, is this intended, and how do you make it not happen?

Here is the unlit view with mobile preview off: SM5 unlit

Here it is with mobile preview on: Mobile preview unlit

Product Version: UE 4.22
Tags:
more ▼

asked May 29 '19 at 01:14 PM in Rendering

avatar image

Kassym123
95 7 8 12

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

2 answers: sort voted first

Figured it out - for some reason, this is caused by toggling "game view" while in mobile preview. DO NOT TURN ON IN-GAME PREVIEW by pressing the G shortcut. That way, colors are displayed correctly.

more ▼

answered Jun 05 '19 at 02:48 PM

avatar image

Kassym123
95 7 8 12

avatar image mightyenigma Jun 05 '19 at 03:31 PM

That's weird. You'd think the Game mode would be MORE accurate to the final device render. Oh well :) Thanks for sharing the tip!

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

It is most likely due to lack of post processing that usually turned on by default, which is quite limited in ES renderers

more ▼

answered May 30 '19 at 06:50 AM

avatar image

Shadowriver
37.1k 935 172 1116

avatar image Kassym123 May 30 '19 at 11:29 AM

Thank you for the reply, but I don't think that is the case. I have updated the question with a different set of screenshots - you can clearly see that even the unlit view is changed when the mobile preview is triggered. Therefore it is not a post-process issue, but rather a discrepancy that happens before the post processing is reached in the render path.

(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