Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

Standard (Specular Setup) shader has unusual shine even when using a black specular

Discussion in 'General Graphics' started by Arkensis, Mar 24, 2015.

  1. Arkensis

    Arkensis

    Joined:
    Jan 27, 2013
    Posts:
    13
    In Unity 5.0.0f4, in Linear space, objects using the Standard (Specular setup) shader seem to have a fairly strong white shine even if they use a fully black Specular with no smoothness. This does not seem to happen in Gamma space.

    This is an image of a simple scene containing a simple black cube with fully black specular. A directional light is positioned at an angle where the problematic shine can be seen on the cube. It seems to me that a cube with fully black albedo, specular and no smoothness should be fully black.

    LinearLightingBug.PNG
     
  2. Charkes

    Charkes

    Joined:
    Apr 17, 2013
    Posts:
    228
    What you see is it what it should happend in a PBR engine as Unity 5 is, fresnel is responsible of this.

    Have a look to this : http://www.marmoset.co/toolbag/learn/pbr-theory it should give you a good understanding of what physical based rendering is.