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"

Scene Color and Diffuse Color Post Process Bug

Both Scene Color and Diffuse Color render passes of a Post Process Material don't work correctly anymore in 4.7.4. It worked correctly in 4.6.

It basically doesn't render any self illuminated materials anymore, they are then just black. That also includes the skybox.

Product Version: Not Selected
more ▼

asked Apr 08 '15 at 07:39 PM in Rendering

avatar image

920 91 135 191

avatar image Lovecraft_K ♦♦ STAFF Apr 08 '15 at 08:25 PM

Hi Davision -

Thank you for the report, we are beginning to dig into this issue now. If you could please upload screenshot comparison of the 4.6 and 4.7 post process as well as a screenshot of your Blendable setup.

Thank You Again -

Eric Ketchum

avatar image Davision Apr 09 '15 at 10:54 AM

Ok, looked more into it. It is Base Color and Diffuse Color that have a problem. I got it confused with Scene Color which is why I first thought it worked in a 4.6 project.

With materials set to unlit it doesn't work at all and with normal materials it only works when something is plugged into the diffuse. So you can't just use the emissive slot instead.

To use a render pass to grab just the colors I need to have it work with everything so stuff like the sky will be not just black.

Here you can see that the sky is rendered black and the apple too which has a green color plugged into the emissive channel. To make it clear I only plugged in the BaseColor/Diffuse Color in the post process material. alt text

alt text

alt text

colorpass1.jpg (145.1 kB)
colorpass2.jpg (55.2 kB)
colorpass3.jpg (26.0 kB)
avatar image Davision Apr 09 '15 at 11:20 AM

Another issue is that the base color and the diffuse color pass is much darker then what you see when you select unlit in the editor viewport. Those color are significantly darker then the colors you define in the materials.

I made a new post here that shows the colors problem in more detail: https://answers.unrealengine.com/questions/209079/colors-are-wrong.html

avatar image Davision Apr 09 '15 at 07:37 PM

Another problem is that translucent and additive material don't work with Base Color and Diffuse Color. It is like they don't exist. Tunring "Seperate Translucensy" off doesn't change it either.

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Hi Davision -

You are miss understanding what the SceneTexture:Base Color / Diffuse Color is actually calling in the engine. The node looks at the Rendering Buffer for Base Color (Diffuse is actually the same, it is a deprecated input from earlier engine days when Base Color was still called Diffuse Color). When you set a Material as Unlit you lose access to the Base Color input of the Material Attributes (it becomes grayed out). Effectively this means that this material does not pass anything into the Base Color, or a 0 and would rendering black in the Post Process. This is working as intended.

Translucent and Additive Materials will not pass into Post Process materials with a Base Color as Translucency is calculated later in the Rendering Pipeline than Base Color pass.

Thank You

Eric Ketchum

more ▼

answered Apr 10 '15 at 02:51 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.8k 701 254 732

avatar image Davision Apr 10 '15 at 04:30 PM

But then I fail to see how Base Color can be in any way useful? When used everything that is translucent, additive or unlit would be always rendered wrong.

I noticed there is a translucent render pass mentioned as "not implemented yet" But I guess that would then be just black and white? Any chance there will be something that lets me access the colors of translucent, additive and unlit materials?

avatar image Lovecraft_K ♦♦ STAFF Apr 10 '15 at 06:05 PM

Hi Davision -

The short answer is probably not because ultimately of what translucent, additive and unlit shader models actually are and the performance cost of adding in the necessary buffer passes. Rendering is wholly about how an object looks lit and in the Deferred Rendering path lighting gets applied after the materials, but with Translucent Shader models (like Translucent and Additive) are actually about how lighting passes through an object and those objects must be done in a separate phase of the rendering pathway. Ultimately at the same time as lighting. The GBuffer that the post process node is pulling from comes in before lighting is applied so before those shader models are computed. For the emissive input, its the same idea as emissive is supposed to feed into lighting directly.

So for the shader models and inputs you listed above the only way to get the colors of those models is by having lighting computed which would be the SceneTexture:Scene Color Node.

Thank You

Eric Ketchum

avatar image Davision Apr 11 '15 at 12:48 PM

If I could at least mask those materials, then I could do something else with it. But as it is currently I have to to get rid of anything translucent and additive in my game if I want to make use of Base Color.

How about a optional render pass for material ids? Each ID has a different color like it works in 3DsMax. Or for ids for different material types. That would also make a lot of other things possible because essentially you can then mask everything you like.

avatar image Hevedy Mar 28 '17 at 07:46 PM

Using the 4.15 in PP material this return nothing ?

(comments are locked)
10|2000 characters needed characters left
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