GithubHelp home page GithubHelp logo

xsbones's Introduction

This is a Unity editor script and shader that will take an arbitrary mesh and use it to show the bones of a humanoid or non humanoid avatar.

You can find the generator window under Xiexe > Tools > XSBonerGenerator.

"Armature" needs to be the top level object underneath the Animator.

Animator should be your Avatar top level object, with the animator on it.

Bone Model should be the model you want your bones to show as - we have some presets in the Bone Stuff > Bone Models folder.

Skinned Mesh Renderer should be one of the meshes that is weighted to the rig. Any should do.

Bone Material should be the material you want on the bones. We've includeded a shader for the material that can be stenciled through the avatar. If you want to take advantage of this easily, use my Toon shader or another shader that support stencils. Set your stencil to Always, and Pass Replace and set your reference value to the same on both the bone material, and the avatar material(s).

Please note that the stencil will default to 1 for the ref.

IKLines are lines between the legs and arms that show IK chains. The shader for this works the same as the bone material, in that it supports stenciling, and should be the same reference value as the others. IK Lines are optional.

Image

xsbones's People

Contributors

float3 avatar xiexe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.