# SceneColor in a surface material ignores translucent objects behind it

**URL:** <https://forums.unrealengine.com/t/scenecolor-in-a-surface-material-ignores-translucent-objects-behind-it/405139>\
**Category:** Rendering\
**Tags:** UE4-17, translucent, unreal-engine, bug-report, question\
**Created:** [September 21, 2017, 3:10pm UTC](https://forums.unrealengine.com/t/scenecolor-in-a-surface-material-ignores-translucent-objects-behind-it/405139 "2017-09-21T15:10:40Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![matfer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@matfer](https://forums.unrealengine.com/u/matfer)\
**Post date:** [September 21, 2017, 3:10pm UTC](https://forums.unrealengine.com/t/scenecolor-in-a-surface-material-ignores-translucent-objects-behind-it/405139/1 "2017-09-21T15:10:40Z")

</div>

(4.17 built from source updated 15 september)

After upgrading from 4.15 to 4.17 (didn’t try 4.16) the SceneColor material node when used in surface materials stopped considering translucent meshes and particles that are behind it. It just returns the color of opaque surfaces as if the translucent objects were not present.

To reproduce:

- create a project form blueprint first person template
- create a translucent unlit material
- ---- connect to Emissive Color: SceneColor → Multiply(0.5) → EmissiveColor
- ---- connect 1 to opacity
- assign the material to one of the white cubes in the level
- move the view so that the blue text on the floor (which is translucent) is behind the cube: the text is not visible through the cube

I also tried making the material lit and using Base Color instead of Emissive Color, but the result is the same.

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [September 21, 2017, 3:30pm UTC](https://forums.unrealengine.com/t/scenecolor-in-a-surface-material-ignores-translucent-objects-behind-it/405139/2 "2017-09-21T15:30:32Z")

</div>

Scene color should not contain translucent objects, if they are rendered in separate translucency pass.

---

<div class="post-metadata">

**Author:** ![matfer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@matfer](https://forums.unrealengine.com/u/matfer)\
**Post date:** [September 21, 2017, 3:32pm UTC](https://forums.unrealengine.com/t/scenecolor-in-a-surface-material-ignores-translucent-objects-behind-it/405139/3 "2017-09-21T15:32:19Z")

</div>

I forgot to mention that separate translucency is disabled in my project.

---

<div class="post-metadata">

**Author:** ![matfer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@matfer](https://forums.unrealengine.com/u/matfer)\
**Post date:** [September 21, 2017, 3:38pm UTC](https://forums.unrealengine.com/t/scenecolor-in-a-surface-material-ignores-translucent-objects-behind-it/405139/4 "2017-09-21T15:38:17Z")

</div>

However, I tried with separate translucent enabled and disabled, and enabling/disabling “Render After DOF” in materials, but I cannot find a combination that makes SceneColor consider translucent things. As I said, this was working in 4.15.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [September 22, 2017, 5:02pm UTC](https://forums.unrealengine.com/t/scenecolor-in-a-surface-material-ignores-translucent-objects-behind-it/405139/5 "2017-09-22T17:02:04Z")

</div>

Hey matfer-

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here [Unreal Engine Issues and Bug Tracker (UE-50204)](https://issues.unrealengine.com/issue/UE-50204) . You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Cheers

---

<div class="post-metadata">

**Author:** ![matfer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@matfer](https://forums.unrealengine.com/u/matfer)\
**Post date:** [October 2, 2017, 2:43pm UTC](https://forums.unrealengine.com/t/scenecolor-in-a-surface-material-ignores-translucent-objects-behind-it/405139/6 "2017-10-02T14:43:09Z")

</div>

I noticed that the issue has been closed as “By Design” for optimization reasons. However, how can I get the scene color including translucent objects? It seems to me rather common for a translucent material to get the color behind it and do something with it, but ignoring part of the scene looks like a big limitation.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [October 2, 2017, 5:27pm UTC](https://forums.unrealengine.com/t/scenecolor-in-a-surface-material-ignores-translucent-objects-behind-it/405139/7 "2017-10-02T17:27:18Z")

</div>

If you are using source, you can revert the changes to Scene Color in 4.17 by merging in the 4.15/4.16 implementation. Specifically I would look at the MaterilaExperssions.cpp file. Since this change was intentional, there is no expectation that this will return to how it used to work. It would be best to pull the 4.15 implementation into your project.

---

<div class="post-metadata">

**Author:** ![matfer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@matfer](https://forums.unrealengine.com/u/matfer)\
**Post date:** [October 2, 2017, 6:23pm UTC](https://forums.unrealengine.com/t/scenecolor-in-a-surface-material-ignores-translucent-objects-behind-it/405139/8 "2017-10-02T18:23:37Z")

</div>

This is the only difference concerning SceneColor that I could find in MaterialExpressions.cpp:

```
@@ -6882,7 +7017,7 @@ FString UMaterialExpressionSceneColor::GetInputName(int32 InputIndex) const
 	{
 		// Display the current InputMode enum's display name.
 		UByteProperty* InputModeProperty = FindField<UByteProperty>( UMaterialExpressionSceneColor::StaticClass(), "InputMode" );
- return InputModeProperty->Enum->GetEnumName((int32)InputMode.GetValue());
+ return InputModeProperty->Enum->GetNameStringByValue((int64)InputMode.GetValue());
 	}
 	return TEXT("");
 }

```

Does not seem relevant, I guess the change is deeper in the code.

Anyway, I will deal with the fact that SceneColor is no more the one it used to be. I hope some way to get the correct scene color will be implemented soon.

---

<div class="post-metadata">

**Author:** ![Demnus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Demnus](https://forums.unrealengine.com/u/Demnus)\
**Post date:** [January 4, 2018, 8:43pm UTC](https://forums.unrealengine.com/t/scenecolor-in-a-surface-material-ignores-translucent-objects-behind-it/405139/9 "2018-01-04T20:43:48Z")

</div>

Epic, why you did this to me? Why you broke my work, just like that, for no reason? I want my blurry explosions back! I want my blurry trails back! I want my blurry shock waves back! What’s wrong with you Epic? Every current gen game has it! Why can’t I?  
Weren’t you able to add a checkbox or something to make it backwards compatible? Cutting out really important features with no word about, and calling it “by design” backdated. That make no sense! Give me back my work!

---

<div class="post-metadata">

**Author:** ![Tuxmask75](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tuxmask75](https://forums.unrealengine.com/u/Tuxmask75)\
**Post date:** [September 7, 2018, 4:36pm UTC](https://forums.unrealengine.com/t/scenecolor-in-a-surface-material-ignores-translucent-objects-behind-it/405139/10 "2018-09-07T16:36:20Z")

</div>

OMG ! ! ! I need this to work again !

---

<div class="post-metadata">

**Author:** ![officernickwilde](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/officernickwilde/32/547477_2.png) [@officernickwilde](https://forums.unrealengine.com/u/officernickwilde)\
**Post date:** [December 15, 2024, 12:16am UTC](https://forums.unrealengine.com/t/scenecolor-in-a-surface-material-ignores-translucent-objects-behind-it/405139/11 "2024-12-15T00:16:03Z")

</div>

+1

Perhaps introduce a new node that includes other translucent objects? In my case I’m also using “Order Independent Transparency (Experimental)”
