I’m going through an old tutorial (from Terry Norton’s excellent book) and having strange shading/lighting problems now that I’ve changed to Unity 5. Importing a vehicle model it is assigned the standard shader. All very well but if I play the game the model turns black, not the nice electric blue that I assigned to it. Reverting to a Legacy specular shader fixed this problem.
Next I find that my terrain turns black in the editor after I’ve played the game. Colors are OK while playing but one does expect the Editor to at least display a terrain properly. I’ve posted both these problems to Unity Answers (the second one only a short while ago admittedly) but so far no response. I can live with the Editor problem, although it annoy me, but not being able to use the Standard Shader, which did look so much better, is a bit of a bummer.
Here’s a short video of the effects in action:
Actually, with the Standard Shader the vehicle does not turn black, it turns a very dark shade of the color I’ve set. So if it’s yellow (color should be bright yellow) it looks like very dark mud, somewhat more yellow in the highlights. So I guess it’s a color space problem, maybe it’s interpreting an 8 bit color as 16 bit, and adding a 0 high byte or something like that. Just floundering here actually.
ETA: The game builds and plays OK, so the problems are just in the Editor (and Playing in the Editor).
Just discovered another problem, no shadows in the build. So to recap:
Editor scene: dodgy colors for vehicle and terrain
Editor Game: lost colors of Standard shader, but shadows render
Build: colors good for standard shader, but no shadows.