What's the best solution to make the mask dynamic ?

Hey Jonathan , 


I was wondering on what would be the best approach to make that mask "movable", say for example you want to extrude the Mesh where the mouse is hovering on it  ?   (ofc some C# would be required to figure out few things),  i think this would be a cool effect to have but also a great way to introduce C# workflow with Shader which is really when the fun begin, also i am shamelessly asking because  i just faced a pretty close issue xD 

here is the StackOverflow link if you wanna give it a go :p 

https://stackoverflow.com/questions/53585284/how-to-mask-a-texture-with-unity-shader-graph


Cheers!


  • Jonathan Gonzalez(jgonzalez) replied

    Honestly it's something I'm still learning myself. Trying to create more dynamic vertex extrusions that can follow a moving texture is something I had in mind when I first created these lessons I just haven't really put a lot of time into testing it myself. When I do figure it out I'll more than likely add it to the course or maybe make it a separate tutorial. 

  • Ala Dhiabi(alaslipknot) replied

    I see, well then, i think am gonna bite the bullet and start learning Shader code, the current graph situation is very vague tbh, i don't even know if certain results are possible and could be just wasting time trying to solve it, not to  mention the "ghost town" situation when it comes to searching for anything shader-graph related, but it will eventually become a reliable tool.

    anyway,

    Thanks for the quick reply  man, i really appreciate it :) 


    Offtopic:

    something is off with the notification system here again, i got an email saying that you replied to my question, but the notification zone (in website) has nothing about it.

  • Jonathan Gonzalez(jgonzalez) replied

    Heh, I know what you mean. That's why it's difficult to progress with Shader Graph at the moment. The vertex animation stuff was mostly just me experimenting until I found something that worked but it's almost impossible to find anything beyond that. A lot of times I just end up creating the written shader and see how I can convert it to Shader Graph.

    I have almost the opposite effect for notifications. I received your reply on the site, but no email. So I'll have to let the web developers know maybe they are working on it.