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 to get a flat color


I'm trying to create an image in Unreal Engine that has completely flat colors, but I'm having a really hard time getting the output to cooperate.

Here is what I'm getting: alt text

The problem is, I want the car color to be (0,255,0), but when I histogram the results, I get multiple different values for green.
alt text

(x axis is just the index of the color and colors at a different index are different)

I'm attempting to get this effect by using a scene with no lights and using an unlit material with an emissive color set to (0,1,0,0).

The player camera viewing the object has chromatic aberration and Vignette set to 0, bloom intensity set to 0, lens flare intensity set to 0, and auto exposure min and max brightness set to 0 (off). There is no post-processing volume and the default rendering project settings are turned off. alt text

Is there anyway to ensure my car outline is a single color?


Product Version: UE 4.18
more ▼

asked Jul 23 '18 at 08:54 PM in Rendering

avatar image

1 2 4 7

avatar image Shadowriver Jul 23 '18 at 09:55 PM

You need to disable post processing since it is man things that modify output pixels, also remember that antialiasing will produce darker pixels on the edges. What method do you use to get that historgram? UE4 provides pixel inspector to check values of individual pixels go to Window->Development Tools->Pixel Inspector

avatar image RelativeQuanta Jul 24 '18 at 02:17 AM

Hey, thanks. I didn't realize that anti-aliasing would darken stuff so much. I'll shut it off. Is there a easy switch for everything else? I feel like I've searched everywhere for settings that might be on still (except for the anti-aliasing).

The histogram I made using the PIL library in python. I didn't know about the pixel inspector.

avatar image Shadowriver Jul 24 '18 at 03:33 AM

Then look on pixel inspector also how do you save? Try console command to disable AA

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

1 answer: sort voted first

Thanks a ton Shadowriver. Your suggestions (pixel inspector) lead me to find the solution. My problem was with the tonemapper. The solution was in another question here: White not white in game

more ▼

answered Jul 24 '18 at 02:53 PM

avatar image

1 2 4 7

(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