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
http://polycount.com/discussion/63361/information-about-polycount-new-member-introductions/p1#images
Also, how exactly are you creating your shader.. text editor, or a node graph editor? Which editor?
Post your code in a Code block.
Are you using any existing shaders as references for how to approach this?