Jump to content

Terrain texture with blend pattern in alpha


Josh
 Share

Recommended Posts

I was wondering if anyone had any textures with a blend pattern in the alpha channel. I want to play around with the blend equation:

http://www.m4x0r.com/blog/2010/05/blending-terrain-textures/

 

Basically this means instead of textures blending like this:

alphablend.png

 

It would look more like this:

selectblend.png

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

what is fyi?

 

I don't think it's a shader, it's just how is painted the mix of textures.

Like painting snow on rocks in the video :

The snow goes on darker carves of the rocks autotmatically, we could do it by hand using a tiny radisu and painting on darker parts of the rocks.

In that video this is some algorithm that paint for you automatically, it blends textures only on the darker part of the source texture.

We could have that feature , would be great with great possibilities.

Stop toying and make games

Link to comment
Share on other sites

My last terrain shader used RGB for albedo, Alpha for specular, then a separate Alpha8 texture for height. To determine which texture to display it would take splat value * texture height value. There would be some blending at very close values, but mostly it resulted in well defined transitions that looked pretty good. If there's room in the shader then adding a base offset and height multiplier could add some flexibility. Since you have the height you could use it for POM if you wanted as well.

 

An early version of the system is shown here:

 

I believe that BF3 uses a similar system.

Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX

ZBrush - Blender

Link to comment
Share on other sites

You mean Texture Splatting?

 

Did you still need some? If so I could try to make one for you sometime tomorrow. But I'm a little bit rusty at the technique, I haven't used it in 4 years! I used to use it in blender 2.4, back before I started using 3dCoat.

Core I5 2.67 / 16GB RAM / GTX 670

Zbrush/ Blender / Photoshop CS6 / Renoise / Genetica / Leadwerks 3

Link to comment
Share on other sites

Grab substance player (http://www.allegorithmic.com/products/player), it comes with some free substances and you can pull the height map out of it and use it as the alpha channel. There's some other free substances out there if the ones it comes with aren't good enough, or if you need something special let me know and I'll create some for you.

Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX

ZBrush - Blender

Link to comment
Share on other sites

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...