Skip to content

Shader graph version not working #18

Description

@infrank

Hi please could you add more explanative information about how to make the shader graph version work?
There is quite a lack of information about how to use the shader, and I am not well versed in coding.

I've actually baked an animation from a character into a texture and it works, with the generated shader, which is not a shader graph. As I'm not versed in coding, I'm interested on using the shader graph, but I tried with the shader graph you provided, changing the textures, but it is not working for me, the animation is there, but the mesh vertices are messed up.

You mention in the doc, that for the shader graph "Need to edit the mesh at runtime..
Vertex index data is being copied to mesh.uv1 by script".

I don't know what it means exactly. I tried adding the script VertIdxToUv.cs to the gameobject of the character with the baked texture, but it's not working. I don't know if that is the right method..

This is the character with the shader once baked:

image

And this is the character with the shader graph you provided, changing the textures to the ones baked from the character:

image

I don't know, what am I missing here?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions