leplubodeslapin Posted January 28, 2014 Report Posted January 28, 2014 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 ... Beck, El Moroes, Seldoon182 and 5 others 8 Quote
iwxanthi Posted January 28, 2014 Report Posted January 28, 2014 Woohoo Source goes next-gen leplubodeslapin 1 Quote
Pampers Posted January 29, 2014 Report Posted January 29, 2014 and it only took 7 years! TheOnlyDoubleF and The Horse Strangler 2 Quote
FMPONE Posted January 29, 2014 Report Posted January 29, 2014 and it only took 7 years! Probably because I still can't see myself using it Quote
Spherix Posted January 29, 2014 Report Posted January 29, 2014 If only they allowed it on regular brushes too.. Quote
LATTEH Posted January 29, 2014 Report Posted January 29, 2014 It doesn't look like it supports bump mapping and specular though. (i guess i have a reason to test this) Quote
leplubodeslapin Posted January 29, 2014 Author Report Posted January 29, 2014 It doesn't look like it supports bump mapping and specular though. (i guess i have a reason to test this) The first 2 textures can have bumpmaps like WorldVertexTransition. (quote from the Valve wiki, 3rd line) Quote
The Horse Strangler Posted February 1, 2014 Report Posted February 1, 2014 It supports envmaps. Why it doesn't support a 3rd or 4th bumpmap is beyond me. They are only using 9-10 texture samples total. In the shader you still have room for 3 more texture samples before you hit the sample read limit. Thanks Volvo. ESToomere 1 Quote
Oskmos Posted February 1, 2014 Report Posted February 1, 2014 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. El Moroes, FMPONE and LATTEH 3 Quote
El Moroes Posted February 3, 2014 Report Posted February 3, 2014 I tested it yesterday and I think it will be really useful ! Thanks man ! Quote
reltham Posted February 7, 2014 Report Posted February 7, 2014 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. General Vivi, Skjalg, Squad and 9 others 12 Quote
FMPONE Posted February 7, 2014 Report Posted February 7, 2014 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. 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?) Quote
reltham Posted February 7, 2014 Report Posted February 7, 2014 There is a sample screenshot on the documentation page linked above. Here is a direct link to that image: https://developer.valvesoftware.com/w/images/8/83/ExampleOf4WayBlend.jpg I don't have anything more at the moment. When I have more I'll share them. Maybe Oskmos will have some shots of his updated terrain using it soon? Quote
Skjalg Posted February 7, 2014 Report Posted February 7, 2014 Hi reltham! Welcome to the core. I see you joined like 5 minute sago. What made you join? Quote
reltham Posted February 7, 2014 Report Posted February 7, 2014 Skjalg, I have been here off an on just looking, but I joined so I could post on this thread about the shader, since I worked on it and want to see it get used. Quote
Recommended Posts
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.