So I decided to make my first model as the daedric greatsword from Skyrim. I found out that the nif file was in two models and was able to get the textures onto the first sword part being the body and blade of the sword. But I don't know how to do the glowing red/black blended bit for the second part of the sword.There are two files one being what I think is the base texture, as it says source texture in nifskope. This texture is called the Vaportile2. There is another texture called GradDisguiseShader02. It says for this one that it is a greyscale texture. and in the shader perimeters it says
https://files.facepunch.com/forum/upload/484083/189ae10b-1462-45b5-b66a-88eeb9b299a1/image.png
https://files.facepunch.com/forum/upload/484083/5c2499f7-732d-4457-8540-698953374544/image.png
I know that the shader UnlitGeneric makes it glow but I am unsure how I would even blend the two textures. I spent almost 2 week trying to make a vmt for this and never made any progress on this. My current VMT is the following:
UnlitGeneric
{
$basetexture "models/fishsticks/daedricgreatsword/vaportile02"
$detail "models/fishsticks/daedricgreatsword/graddisguiseshader02"
$detailblendmode 9
$detailscale "[2 8]"
$alphatest 1
$basetexturetransform "center 0.5 0.5 scale 10 10 rotate 0 translate 0 1"
$vertexcolor 1
$vertexalpha 1
$color "[1 0 0]" //I am unsure so made it red
$color2 "[1 0 0]" //This gives red
Proxies
{
TextureScroll
{
texturescrollvar $baseTextureTransform
texturescrollrate 0.1
textureScrollAngle 180
}
}
}
Any help would be appriciated as I went though a lot of websites and even went though a lot of vmt files that others made. Even pointers on how I can fix it would be helpful. Thanks for any help you give or for any advice you give to me. This is what I was trying to get. You can see in the picture that the red and black blend. This was taken from nifskope.
https://files.facepunch.com/forum/upload/484083/d53e7869-1c2e-4867-8edb-4c0b729b4ced/image.png
You need 2 texture vtf files one for the RED one for the Black the tooltexture is the gradient shader the surface prop isn't needed but would more than likely set for metal, and then to make it glow you can use "LightmappedGeneric"
"worldvertextransition"
{
"$basetexture" "models/fishsticks/daedricgreatsword/vaportile01" <RED TEXTURE>
"$basetexture2" "models/fishsticks/daedricgreatsword/vaportile02" <BLACK TEXTURE>
"$surfaceprop" "RED"
"$surfaceprop2" BLACK"
"%tooltexture" "models/fishsticks/daedricgreatsword/graddisguiseshader02" <Your b/w texture Gradient>
}
"LightmappedGeneric"
{
"$basetexture "models/fishsticks/daedricgreatsword/vaportile01"
"$translucent" 1
}
Is this tile texture animated? You could try the $emissiveblend parameters. It allows blends like a greyscale using a 'palette'.
The blendtexture is the palette, the flowtexture the gradient. The basetexture is the amount of illumination.
Oh I also forgot to show the files I am working with. This is the vapor file. The alpha for this is just the white being reversed to a black image being a 512 x 512
https://files.facepunch.com/forum/upload/484083/0c782b23-843d-4e9a-8290-daed2e168382/image.png
This is the gradient file. After looking into this file the file has the whole colored area being alpha. image being 256 x 64
https://files.facepunch.com/forum/upload/484083/38f19245-b62c-44d3-9beb-3711c0701877/image.png
I also forgot to tell you that the tiling looks like it was done by nifskope.
This means I need to tile the items inside the VMT or in a photoshop.
In the files it says it is greyscaling to the alpha palette. So would I combine the alpha of the gradient with the alpha of the diffuse map in this case it would be the Vapor file?
After messing around with nifskope I found something that makes this way more different. How would someone go around making this
https://files.facepunch.com/forum/upload/484083/093d13fc-1301-4408-a79f-b5a219b3b45b/image.png
This is what the texture makes in the end.
Well. have an example. i'm aware that the animation is potentially not correct but that's the blend at work. The flow map, which might need more detail, can not be scale independently. I might eventually make a tutorial about the flow conrol and palette relation, but not now.
I found out that the Vertex color is causing the fade effect also. This is with vertex color enabled
https://files.facepunch.com/forum/upload/484083/52b12ccb-1502-4fa4-9ae6-996d52d8de1c/image.png
This is without vertex color
https://files.facepunch.com/forum/upload/484083/bdfb806e-3e74-4b97-a557-3d5c5e1d5188/image.png
Question what kind of affects can be done as for the model I am doing it is just a scroll. I do appriciate the time you take to explain these to me.
Sorry, you need to Log In to post a reply to this thread.