Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

shader graph, flip normals for VR sphere

Discussion in 'AR/VR (XR) Discussion' started by ivan_unity180, Feb 13, 2019 at 5:16 PM.

  1. ivan_unity180

    ivan_unity180

    Joined:
    Nov 13, 2018
    Posts:
    1
    Have any of You guys can help with the creation of a shader, using shader graph(is this possible?) that let me flip the normals of a sphere, sorry I have no experience coding shaders :(, I am trying to make a video player (which I am done with all the things that has to do with the player but the shader using shader graph its a pain in the @55



    by the way I am using, the oculus go platform and it goes awesome
     
  2. GameDevCouple_I

    GameDevCouple_I

    Joined:
    Oct 5, 2013
    Posts:
    1,193
    If there is an inverse node, try that? Sorry dont use shadergraph enough to be more help

    EDIT: shouldnt this be as simply as multiplying the normal values by -1?

    Just try using a multiply node with -1 as the value and use that on the normal output