I am noticing some issues where as my paper2D sprite that has “MaskedUnlitSpriteMaterial” texture is darker at the corner of the screen compared to when it is at the middle. Also all my sprites are affected by lighting even though there are using “MaskedUnlitSpriteMaterial”
Things to note:
Sprites are placed in the 3D world
They all have “MaskedUnlitSpriteMaterial”
Camera is orthographic
No lighting/post process in the level
I am using 4.8.3
Here are some comparison images:
- My default HUD position located at the top left
- I moved the HUD to the center, now it is slightly brighter
- Comparison of the shell icon
- All my sprite uses “MaskedUnlitSpriteMaterial” but when I set preview mode to lit, everything becomes darker. Unlit preview mode is what I want my game to look like. What is causing “MaskedUnlitSpriteMaterial” to get affected by lighting?
LIT PREVIEW (This is how the game looks when I run it)
UNLIT PREVIEW (I want the game to look like this)
A good way to reproduce this is to find “DefaultSpriteMaterial” under engine and open it. Look at the preview panel, and change lit to unlit, the unlit version will be slighty brighter even though the material shading model is set to unlit.
This has been bugging me for awhile, is there any way to fix it? Thanks!