So After porting my test project from Unity 4.6 to Unity 5, I have a slight problem, but I don't know exactly what's causing it. I generate some cubes via script at certain locations. All i have in my scene is these cubes, Main Camera, 1 directional light and couple of empty gameobjects for scripts. Let me show some pictures. This is 4.6 view
now this very same scene, ported to Unity 5
the thing is, that I am using orthographic camera and it seems that i have 1 object, but really, I have 2 objects and with orthographic camera they seem to be one. But as u can see I am getting this color difference between two pieces. (as I said, this object is not 1, it consists of 2 objects under certain angles and with orthographic camera it seems to be 1 object) so the color separation is just where 2 pieces 'stick' together. All cubes have same default material on them and are affected only by 1 directional light. When I move camera a bit this color difference changes so I am guessing it has to do something with reflections ? that color seems different with various camera angles, I don't really know... I tried Player settings and Lighting windows settings but nothing helped.
So i'm guessing now, is this new feature of directional light, and how can I return to 4.6 view ? Or any other suggestions ?
I figured it out at last, so Unity 5 converted my 4.6 Diffuse shader into a Standard shader, so it had its glossiness and reflections that affected the color. When i used Legacy Shader -> Diffuse the problem solved, but i DO want to use standard shader if possible, so any ideas how can i 'make' standard shader to be the diffuse only shader ?
Just turn everything down and set it to opaque. This id standard diffuse. It looks different due to the more advanced lighting and shadows.
Sadly enough that doesn't work, i tried that so much time. I set metallic and smoothness to 0 and nearly almost all possible variations of them, also other map properties I have to 'none', but I can not get the same effect from Standard shader as 4.6 Diffuse material had. As i mentioned if this was solid single object, it would look nice, but in my scene there are 2 objects and first one is higher then second so they get differently lit and have different color.
There are all new lighting options etc. You should try playing with them and shadows too. There is a little dropdown next to the static button for example.
i have color problem and here is how i fixed it https://youtu.be/eFlZBPc2NG0
Answer by saadali211
4 days ago
here is the fix
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
4 People are following this question.
How to change the reflection according to skybox-material?
Reflection bigger than actual gameobject.
When i import assets from unity 5 back into unity 5 to test them my standard shaders become legacy shaders
Unity 5 - New project, default shaders are pink?
Lens Flare & Auto Hide