[Unity] Shader programmer's help needed please

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

 
Thread Tools Search this Thread Display Modes
  2 Weeks Ago
[Unity] Shader programmer's help needed please

Hi, I'm starting to grasp Shaderlab but having some difficulties here and would really really appreciate some help.

I found this shaderand would like to modify it so that instead of just affecting the area under a specified Y value it can be depending on how the object collides.
In a more visual representation:
(I can't seem to be able to include gifs but here's one)


That's what I need to be able to do, to instead of just give a world-based Y value (blue line) I can use the orientation of the object, collision (best option), face normals, or something, to say what area is affected by the melting (be able to rotate it like with the red line).

I can't paste code here either or it loses all the indentations... but I made a question in StackExchange where you can see it

So yeah, I would really appreciate any help... I've been trying for couple days now. Tried to change all the world position values to be object oriented but for some reason it gives me the same results...
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 01:43 AM.


Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.