I'm trying to create a cartoon style island map, this map's style would fit well with a sharp blend modulate for textures, I basically have to solid colours, and I want them to have this sharp transition between the two colours, I have the two textures and the blend VMT done, but Source's base blend transition looks horrible, so I'm looking for just a simple sharp blend.
Can someone tell me how to do it?
From the Valve wiki:
Only two colour channels are read from the texture:
Green
Biases in favor of $basetexture; high-value areas will be the most resistant to modulation. 128 is normal.
The idea is to paint noise and patterns into this channel, so that the edge between the two textures becomes irregular. Valve's snow texture (see right) has lots of ragged edges in the green channel, and even some bootprints. There are also lines painted along the edges of the albedo's bricks that give them a tendency to have snow along their edges.
Red
Sharpens. 0 makes the transition binary, 255 effectively disables modulation.
The red channel of Valve's snow modulation texture is a constant 99, which produces a fairly sharp falloff. Using different values in different places has the potential to produce a more complex effect.
If I'm understanding your description correctly, you need a blend modulate texture that's filled entirely with a single colour. Experiment with low values for the red channel (somewhere between 8 and 80, I'd estimate) and use a value of 128 for the green channel. However, you might get better results if you use some cloudy pattern for the green channel, like so:
https://files.facepunch.com/forum/upload/132366/cdfa91f5-4fa4-4116-9dc6-3add9432c302/image.png
(Just a quick Photoshop job, didn't try it in-game. Using $blendmasktransform to scale it up a bunch might also be a good idea in this case)
Tried using a $blendmodulatetexture? A 128 green channel creates a uniform blend. Ofc you can and maybe should add some noise to the green. The red channel controls the 'sharpness' of the blend.
Example: 16, 128, 0 blendmod texture. Smoothed edge.
https://i.imgur.com/Thv9CXY.jpg
Using a slightly modified (and red 0) snow blend form the wiki page.
https://i.imgur.com/SrJLAAE.jpg
Alright, thanks for the help, I'll try it out.
Was just trying some more. If you wanna splatter color or get a camo style distribution you can ofc use an explicit blendmask.
dev/camo remix
https://i.imgur.com/qdiOipB.png
It blends pretty crazy toon. I fliprot the color textures tho. You can get a smooth transition too if you red0 it. Stylie stuff.
https://i.imgur.com/EFM81Mh.png
That looks awesome! I want to say that I always thought the blend patterns were these terrifyingly hard things to create, but now that I see how they are actually created, I'm surprised how easy it really is.
make the red channel black
Alright
Sorry, you need to Log In to post a reply to this thread.