Search Unity

Wilberforce Wireframe Shader/Material

Discussion in 'Assets and Asset Store' started by wilberforce, Mar 9, 2017.

  1. wilberforce

    wilberforce

    Joined:
    Aug 29, 2016
    Posts:
    92
    Wilberforce Wireframe


    View on Asset Store User Manual

    High-quality wireframe rendering can be achieved simply by creating material with this shader - no mesh preprocessing needed. Provides additional features like diagonal removal and transparent double-sided meshes rendering.

    Features:
    • Blending between wirecolor and fillcolor
    • Can be drawn over existing material
    • Supports Transparent Render Queue
    • Option for removing diagonal edges
    • Option for perspective display of lines (line appears thinner as distance from camera increases)
    • Flat shading of the fill color
    • Rendering of back faces (transparent double-sided objects)
    • Supports following graphic APIs: DirectX 11, DirectX 12, OpenGLCore, OpenGLES3
    • Does NOT currently support DirectX 9
    Planned features (FUTURE):
    • Interaction with scene lights
    • Phong shading (single-pass optimization), including textures
    • Better lines caps
    • Dashed lines
    • Better diagonal edges removal method
    • Alternative calculation supporting DirectX 9 level hardware (currently just DX11)

    See user manual or contact us at projectwilberforce@gmail.com for additional support.

    Screenshots



    Changelog
    0.9 Beta
    • Initial Release
     
  2. wilberforce

    wilberforce

    Joined:
    Aug 29, 2016
    Posts:
    92
    CURRENTLY SUBMITTED AND PENDING REVIEW
     
  3. wilberforce

    wilberforce

    Joined:
    Aug 29, 2016
    Posts:
    92
  4. wilberforce

    wilberforce

    Joined:
    Aug 29, 2016
    Posts:
    92
    New version 0.9.1 beta has been released with following improvements:
    • - Adjustable wire to fill color transition thickness and style (better quality)
    • - Quad flickering fixed (ignore model transformations)
    • - Depth Bias option
    • - New culling option (both faces)
    • - Flat shading option for both wire and fill color
     
  5. GafferSystems

    GafferSystems

    Joined:
    Apr 24, 2017
    Posts:
    3
    Hi! Will this run both on Windows and Mac?
     
  6. wilberforce

    wilberforce

    Joined:
    Aug 29, 2016
    Posts:
    92
    Yes, it will run on both.
     
  7. zeux-n00b

    zeux-n00b

    Joined:
    Nov 4, 2017
    Posts:
    73
    Hello!
    This is very close to what I want. Im not an shader expert and, Is it possible to unlit wire lines (or adding emission to wire color)...?
     
  8. wilberforce

    wilberforce

    Joined:
    Aug 29, 2016
    Posts:
    92
    Hi, our shader actually does not respond to lighting in the scene - it will have whatever color you set regardless of lights.
     
  9. zipgen-jvion

    zipgen-jvion

    Joined:
    Jan 27, 2021
    Posts:
    3
    Is this compatible with WebGL?