Jump to content

Dissolve shader


YouGroove
 Share

Recommended Posts

@shadmar :

I didn't look ito their code , but it is easy to make same modification to other shaders like diff/emissive/normal/spec ?

 

Yes I'm sure you can do it. :)

 

You should put them on the Workshop, so all people will benefit your great shaders smile.png

 

No, I dont want to have stray shaders in the WS, maybe in a modelshader pack some day later.

  • Upvote 1

HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB

Link to comment
Share on other sites

  • 6 months later...

Just add this line at the bottom of the shader to burn red.

 

if (NoiseV<InvAlpha+0.025) fragData2 = vec4(1.0,0.0,0.0,specular);

 

0.025 is the width of the burn, 1.0,0.0,0.0,0.0 is the color.

 

EDIT: it's already in there in the zips above, however after the decal update, materialflags were moved.

  • Upvote 1

HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB

Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

 Share

×
×
  • Create New...