# Directional Light with Default Material have large brightness differences between Mobile and Desktop

**URL:** <https://forums.unrealengine.com/t/directional-light-with-default-material-have-large-brightness-differences-between-mobile-and-desktop/388244>\
**Category:** Rendering\
**Tags:** light, Mobile-Renderer, unreal-engine, Rendering, question\
**Created:** [March 17, 2017, 7:34pm UTC](https://forums.unrealengine.com/t/directional-light-with-default-material-have-large-brightness-differences-between-mobile-and-desktop/388244 "2017-03-17T19:34:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Institute\_Games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Institute\_Games](https://forums.unrealengine.com/u/Institute_Games)\
**Post date:** [March 17, 2017, 7:34pm UTC](https://forums.unrealengine.com/t/directional-light-with-default-material-have-large-brightness-differences-between-mobile-and-desktop/388244/1 "2017-03-17T19:34:14Z")

</div>

I have a very simple scene setup. A plane with a default material applied, with the plane facing the camera and a directional light aimed down towards the plane from the upper right corner. When I view the results in both Shader Model 5 vs Mobile Preview ( both High End and Low End Mobile ) I see a large lighting difference between Shader Model 5 and Mobile Preview. I verified that I am not making use of Auto Exposure and have it set to 0. I have no texture inputs, and the material is at it’s default settings ( except for full precision for mobile, though this made no difference ). In my Project Settings I made sure to turn on Mobile HDR as well.

Visually this seems to be a difference in shading, seemingly in the specular response ( I zeroed out the specular and used a black color input to the base color and both Shader Model 5 and Mobile Preview gave the same result ( images below ) ). I am not making use of shadows currently ( they are on for the light, but turning them off also gave the same exact result ). Setting my light from Moveable to Stationary made no difference, and using Static isn’t an option for this game.

I have looked through many questions on AnswerHub regarding visual differences between Mobile and Desktop, but nothing has so far helped me. I am really hoping I am missing something.

**Shader Model 5**

 ![130543-shadermodel5.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/2/7b2d37061df1ceb1da3913b621c658ce3ca1a4c2.jpeg)

**High End Mobile**

 ![HighEndMobile.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/7/47e4aaa3ed321077742091ba9e5215b8ac64f94d.jpeg)

**Low End Mobile**

 ![LowLevelMobile.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/f/2fe177de5868e677f79e762b46dc14b16c7ddecf.jpeg)

**Material Properties**

 ![MaterialProperties1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/9/e971db15242902525ed2a3c625abf19d28fd82fa.jpeg)

 ![MaterialProperties2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/1/41b00bf09cdc6e548fe5208baa0c1c012ab973e6.jpeg)

---

<div class="post-metadata">

**Author:** ![Institute\_Games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Institute\_Games](https://forums.unrealengine.com/u/Institute_Games)\
**Post date:** [March 17, 2017, 8:08pm UTC](https://forums.unrealengine.com/t/directional-light-with-default-material-have-large-brightness-differences-between-mobile-and-desktop/388244/2 "2017-03-17T20:08:03Z")

</div>

Continued as I couldn’t include enough images in the first part:

**Directional Light Properties**

 ![130962-directionallightproperties1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/5/3155320f85d3f3378698977c0a2d9a4792bad9c4.png)

 ![130963-directionallightproperties2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/4/5049a39869deb4cd55ab47722172430769f3ab52.png)

 ![130964-directionallightproperties3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/a/59aa8eae95945c8c99f6f28f7deb2ac1182d5083.png)

]

---

<div class="post-metadata">

**Author:** ![Institute\_Games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Institute\_Games](https://forums.unrealengine.com/u/Institute_Games)\
**Post date:** [March 17, 2017, 8:31pm UTC](https://forums.unrealengine.com/t/directional-light-with-default-material-have-large-brightness-differences-between-mobile-and-desktop/388244/3 "2017-03-17T20:31:03Z")

</div>

I am surprised to see differences in the Detail Lighting, Lighting Only, and Unlit views between Shader Model 5 and High End Mobile. There shouldn’t be visual changes especially in Unlit unless the default values are different between Shader Model 5 and Mobile shaders, though I doubt this is the case as I piped in a black color into the material and I still got the same results. Is it possible that sRGB isn’t handled the same between Shader Model 5 and Mobile shaders?

**Shader Model 5 Detail Lighting**

 ![ShaderModel5_DetailLighting.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/7/8708deb36b0d2f0eb648adb865dd1790b952f887.jpeg)

**High End Mobile Detail Lighting**

 ![130970-highendmobile_detaillighting.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/3/f239f7bfd2861a0e192114609fafe7b00e1fd02b.jpeg)

---

<div class="post-metadata">

**Author:** ![Institute\_Games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Institute\_Games](https://forums.unrealengine.com/u/Institute_Games)\
**Post date:** [March 20, 2017, 11:01pm UTC](https://forums.unrealengine.com/t/directional-light-with-default-material-have-large-brightness-differences-between-mobile-and-desktop/388244/4 "2017-03-20T23:01:51Z")

</div>

Unfortunately, as the Buffer Visualizer doesn’t seem to work when in Mobile Preview mode, I couldn’t see what default values looked like for Roughness or Specular like I could using Shader Model 5.

**Shader Model 5 Lighting Only**

 ![130981-shadermodel5_lightingonly.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/a/97a0e62e33bf533eb74e7fee03c6e903c39b8be4.jpeg)

**High End Mobile Lighting Only**

 ![130982-highendmobile_lightingonly.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/b/53bdf04b3ebd5571c2891c97e30848ec96d65cfd.jpeg)

**Shader Model 5 Unlit**

 ![130983-shadermodel5_unlit.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/c/0/ac0ba8eb5b69c00178352fd4cd8f31c1f1bb57b7.png)

**High End Mobile Unlit**

 ![130984-highendmobile_unlit.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/1/9/519c3641b6b647588155485ef11212db9205cd0a.jpeg)

---

<div class="post-metadata">

**Author:** ![Institute\_Games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Institute\_Games](https://forums.unrealengine.com/u/Institute_Games)\
**Post date:** [March 20, 2017, 11:03pm UTC](https://forums.unrealengine.com/t/directional-light-with-default-material-have-large-brightness-differences-between-mobile-and-desktop/388244/5 "2017-03-20T23:03:59Z")

</div>

I Zeroed out the Specular of the Material, and the results were the same as I show below. It seems that the specular handling between Shader Model 5 and Mobile is at fault. I am unsure why the difference is so large, especially when not using any texture inputs. Simply put, with a ZEROED Specular, I shouldn’t see ANY specular response in the shader, yet I am in the Mobile shader. I am a bit of a loss on how to proceed.

**Shader Model 5 Specular Zeroed**

 ![ShaderModel5_SpecularZero.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/d/5dd3377c1b20de43fd3995804039de2acdca24e3.jpeg)

**High End Mobile Specular Zeroed**

 ![131111-highendmobile_specularzero.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/0/d60ddc458118ba6abeb7e315677188e87376e03a.jpeg)
