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

Question Help with simple gem shader not working

Discussion in 'Shaders' started by PolyMad, Aug 20, 2023.

  1. PolyMad

    PolyMad

    Joined:
    Mar 19, 2009
    Posts:
    2,323
    Hello,

    The shader in this package seems fit for my purpose, but I'm having a hard time trying to make it work:
    https://assetstore.unity.com/packages/3d/props/jewel-pack-19902

    The shader seems to work perfectly in the demo scene, but used in my scene, the gems look dull, there is no specular.

    upload_2023-8-20_21-29-3.png
    Demo scene.

    upload_2023-8-20_21-29-59.png
    My scene.

    Unity 2022.3.7f1
    Windows 10
    GTX 1070
     
  2. halley

    halley

    Joined:
    Aug 26, 2013
    Posts:
    1,834
    It looks like the shader relies heavily on environmental reflection mapping to get the glinty lighting. Review the demo scene's lighting and shader properties very closely for differences.
     
    bugfinders likes this.
  3. PolyMad

    PolyMad

    Joined:
    Mar 19, 2009
    Posts:
    2,323
    You are right, thank you very much!