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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Question Convert Amplify Shader to Shader Graph.

Discussion in 'Shader Graph' started by pixelStudioDev, Nov 9, 2022.

  1. pixelStudioDev

    pixelStudioDev

    Joined:
    May 24, 2022
    Posts:
    4
    Hello.
    I am trying to convert Amplify shaders to Shader Graph but I am not able to achieve the same result. Is there an easy way to convert or a list that shows differences between the nodes of both the shaders editors?

    Thank you.
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,455
    As far as I know there definitely is no direct conversion. Comparable nodes for common features should exist.
    For support try to make a shader graph shader and post if you have any issues
     
  3. pixelStudioDev

    pixelStudioDev

    Joined:
    May 24, 2022
    Posts:
    4
    Hey, Thanks for replying. The problems I am having are:
    Amplify has a node called "world reflection". I haven't been able to find a shader graph alternative for that.
    One more thing is in Amplify the Texture Sample Node has an extra parameter called "Scale". Texture Sample Node Alternative in shader graph appears to be Sample Texture 2D but with "Scale" missing as a parameter.
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,455
    You can make a feature request for the reflection node, sounds pretty cool to work with.
    Reflections are supported if you simply make the output supported, but that might not be what you want.

    For the scale, I think you can modify the UV to scale the texture
     
  5. pixelStudioDev

    pixelStudioDev

    Joined:
    May 24, 2022
    Posts:
    4
    Can you please elaborate a little on how? Also, is there SG alternative to the Panner Node in Amplify?

    Thanks once again.