Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Directional Specular, why? Unity5.5

Discussion in 'General Discussion' started by N1warhead, Dec 4, 2016.

  1. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    Why is it now Depreciated?
    Doesn't make any sense as to why, I'm developing a game for Android and it's apparently the ONLY way to get Specularity / Normals to show when baking.

    Yes I am aware that it still works, only wondering why it's now being depreciated when Directional / Non-Directional don't give the same proper results when baking (For Android) at least.

    Unless Mobile devices are about to mysteriously start accepting Standard Shader an such.

    I'm not hating on it, just trying to understand why they would get rid of an important feature soon unless they plan on rolling out some new type of Rendering pipeline where it's no longer needed (Perhaps Vulkan maybe)???
     
  2. Owers

    Owers

    Joined:
    Jul 7, 2012
    Posts:
    39
    Unity's light mapping is about to be overhauled and replaced by lighting modes, which uses shadow masks instead of directional specular maps. You can try it out for yourself here, the developers are encouraging feedback: https://forum.unity3d.com/threads/mixed-mode-fixes-and-lighting-window-preview-2-mix-harder.430308/

    It's deprecated because Directional Specular never worked properly and was a bit of a flawed concept. It's expected to be replaced by light modes in 5.6, but the roadmap says it's "At risk" so maybe not. There's nothing stopping you from using Directional Specular until then, if it works for you.
     
    theANMATOR2b likes this.
  3. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    Ahh thanks man, now makes more sense.... It just caught me off guard when it said depreciated. Appreciate it man.
    Looking forward to it when it's complete.
     
  4. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,301
    Standard shader works on Samsung Galaxy Tab II 7'. released in 2012.
     
  5. 00christian00

    00christian00

    Joined:
    Jul 22, 2012
    Posts:
    1,032
    Works and works well are two other things. Often I discover my scenes suddenly dropped in fps and 99% of the time is because there is some tiny mesh around where there is still the standard shader applied.
    Since it's the default, it's easy to forget to change it, maybe even just some simple cube you added for testing.
    It bothered me so much I had to write a script to find materials in the scene using it, so no it's not usable yet if you are aiming at maximizing your device compatibility.
     
    Martin_H likes this.
  6. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    Oh yeah it most certainly works. but 99% of devices can't handle even one single material with it haha.
    My LG G3 when I had a phone could handle some, but the second I went to the Tablet (Elipsis 10). a single Sphere ruined it haha.
     
    00christian00 likes this.