How to mix two textures for NWN?

Hello!

I love Blender and NWN a lot.
And I would like to try to add some new methods for NWN which can be super useful for the game.

How do we texture ground?

The standart way is just texture mesh. Here is an example.
We have a mesh with texture of rock and a mesh with texture of grass. They are separated. And we work like this. We do some meshes with opacity/alpha maybe and mask our ground, right? It’s a classic way for NWN. Every tile and model in game were textured like that.

But there is another solution: do one mesh and try to texture it with mix-textures by using vertex colors or black-n-white mask. It’s a way from another games with GSLS. Here is an example with black-n-white mask:


And, of course, we can do the same (or similar) results by using vertex colors.

And my question is:

Is it possible to realize a system like this for NWN?.. Just in theory?..
The game supports GSLS. I know nothing about shaders unfortunately… maybe someone tryied to do things like this? If it’s possible I would like to realize it.

My idea would be, to work on the texture until it fits. This should be result in something like this:
Rock with snow patch:
bm_snowtop

Rock/Grass border:
bm_grass3

As you can see, my samples are much less than perfect, to better them up world be nice. But they are in a real existing tileset.

Isn’t there a way to save pictures of the resulting composition in Blender? If not, maybe make screenshots?

merricksdad was showing off a shader you can use that “merges” rock placeables and such with grass on the tile, I am not sure if it would work for tileset rocks, and unfortunately it would need EE either way.

I can dig it out if you like, though, he didnt make it secret or anything.