Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Wireframe shader using Shader Graph

Discussion in 'Graphics Experimental Previews' started by interpol_kun, Jul 9, 2018.

  1. interpol_kun

    interpol_kun

    Joined:
    Jul 28, 2016
    Posts:
    134
    Hello, I am curious, is it possible to create wireframe shader using Shader Graph? With vetrex deformation, e.g. water wireframe? Or SG can't do it yet and I should write Shader Lab code?

    That's the result I want.
     
    IgorAherne likes this.
  2. TheCellCH

    TheCellCH

    Joined:
    Sep 29, 2017
    Posts:
    5
    I'm looking for this aswell. Any updates so far?
     
  3. interpol_kun

    interpol_kun

    Joined:
    Jul 28, 2016
    Posts:
    134
    I saw the twitter post here, but unfortunately the medium article was deleted. There are plenty of fake wireframe shaders out there with the tiling texture, though they are not an actual wireframe shaders.
     
  4. TheCellCH

    TheCellCH

    Joined:
    Sep 29, 2017
    Posts:
    5
    Aww too bad :( this would be what we are looking for. What I've learned is that Unity 2019.1 does not have the node API public so I can't use the shader until April anyway (https://forum.unity.com/threads/una...ssibility-of-customfunctionnode-class.586876/). I might try to give it a go myself one weekend in 2018.3 with a custom node. But this would habe been perfect. I found a tutorial for a non shader Graph version, I hope this can be replicated with a custom Node: https://catlikecoding.com/unity/tutorials/advanced-rendering/flat-and-wireframe-shading/
     
  5. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
  6. interpol_kun

    interpol_kun

    Joined:
    Jul 28, 2016
    Posts:
    134
    syscrusher likes this.