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
High End Mobile
Low End Mobile
Directional Light Properties
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
High End Mobile Detail Lighting
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
High End Mobile Lighting Only
Shader Model 5 Unlit
High End Mobile Unlit
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
High End Mobile Specular Zeroed