Home Unity

Some help needed with a fur shader :)))

slimwaddle
null
Hey just so you guys know I'm kinda new to this whole shader coding thing and coding in general.

Anyways i have this plan to make a viva pinata style shader.
The only problem I have at the moment is the shader doesn't seem to take any lighting information from the scene.
example.


The fur looks cool but as I said the fur doesn't take any lighting information from point lights and directional lights etc.


I have experimented by looking on the docs for all these different functions but every time I try to change something the material goes to a broken pink mat.


I have attached the shader files, just use them in the same folder and apply to a material.
If you know how to fix or if you have suggestions thankyou very much. :))

Replies

Sign In or Register to comment.