Jump to content

Recommended Posts

Posted

Hello guys,

 

I guess you already have made a displacement with a blend texture, and just wanted to quit because you were only able to use 2 textures in your blend ?

Now you should be able to use 4 :

https://developer.valvesoftware.com/wiki/Lightmapped_4WayBlend

 

It's new, if anyone can try it, don't hesitate to show everyone here please

 

I guess Robert Briscoe would have loved it for Dear Esther ... :D

Posted

It's a great shader. Im using it on Insertion. Was using $Multiblend before. But it wasn't supported so the CSM lighting didnt work on it and for Mac users it showed as just a white texture.

A really nice programmer at Valve took time and helped me. I thought he was just gonna fix $multiblend. Really cool that he made a new and improved one. :D

Posted

The new shader is derived from LightmappedGeneric which is used for regular brushes and for displacements with 2 texture blending (WorldVertexTransition). I did this so that you could take an existing material and upgrade it into a 4WayBlend material more easily. Since most of the stuff just works, you can often take an existing VMT change it from LightmappedGeneric/WorldVertexTransition to LightMapped_4WayBlend and then add in the parameters for the additional layers.

 

It's useful to use this shader even if you don't use all 4 layers, because you have more control over the blending to give interesting results (instead of just being a linear gradient). It can give similar results to what you get with the $blendmodulatetexture feature of WorldVertexTransition stuff without requiring another texture per layer.

 

Also, multiblend should not be used in CS:GO, the version in our branch is incomplete. It was an early test version of something done for DOTA2. It should have been cleaned up before shipping, but wasn't.  We may remove it in the future. There is a final version of multiblend in DOTA2, but it's incompatible with the CS:GO branch of the rendering engine.

Posted

It's a great shader. Im using it on Insertion. Was using $Multiblend before. But it wasn't supported so the CSM lighting didnt work on it and for Mac users it showed as just a white texture.

A really nice programmer at Valve took time and helped me. I thought he was just gonna fix $multiblend. Really cool that he made a new and improved one. :D

 

Can you post some screenshots of the shader in action for us?

 

also say hi to reltham guys! (second valve employee to ever post on Mapcore?)

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.

×
×
  • Create New...