Jump to content
YouGroove

Transition shader

Recommended Posts

It blends diffuse/normal/spec/glow from one set of textures to another set of textures in real time.

You can control the mix between the two set of textures by script changing a value used by the shader.

 

Available on the workshop

http://www.leadwerks.com/werkspace/page/viewitem?fileid=537016170

 

 

It can be used for many advanced effects like Wrinckles, cloth effects , characters appearance change during game , damage, dry to wet effect etc ...

 

transition_Shader.jpg

 

It blends two sets of maps :

-diffuse

-specular

-normal

-glow

 

Thanks to macklebee for his help.

 

Enjoy this cool effect smile.png

  • Upvote 1

Share this post


Link to post

Actually it creates a material and assign textures by code, if you change some textures you must change the code.

I'll upload a new version where you just drop textures on a material ready to use, something more workflow friendly.

  • Upvote 1

Share this post


Link to post

New version uploaded to the workshop.

 

It uses a material where you put textures on the slots, than the shader is attributed to the material on the script.

So there is no more hard coded textures attribution.

 

material.jpg

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...