- Edited
Here's a good introduction to start playing with the shader graph :)https://www.youtube.com/watch?v=Vs_XsaBCg_E&feature=youtu.be
Here's a good introduction to start playing with the shader graph :)https://www.youtube.com/watch?v=Vs_XsaBCg_E&feature=youtu.be
Thank you for the information as to what the Var1 and Var2 sockets can be used for (so you can indeed have textures based on slope and the like for things like terrains).The possibilities have now seemed to widen a bit thanks to that :)
Nice going nuno, ;)If you make a lot of them in the long run, simply re-use this post, change the title to something more generic like "Nuno's Tutorials" and add more links as you go.
Good job on making these video tutorials. Very useful material.1 note though: Plugging a color value(vector3) in vertex shader into the output node's color 'pin' does work, you just did nothing with the color input in the fragment shader. So it was not even connected to final output, you were sending the data into the fragment 'pass' though. :)Also in case you had tried to connect vertex input's color value to the output color you likely would have got nothing since you likely had no vertex colors in your mesh data unless you had specifically exported vcol with the mesh from blender(just for future reference).
thanks! Like I said, still a lot to a learn, I'm experimenting and learning the vertex shader now... will include it in the next video ;)