1
Texturing and 2D Art / Re: [QUESTION] Glossy / shiny / plastic effect?
« on: January 08, 2015, 12:30:17 am »
Ok, I've finally got it!
In fact, I had to modify many values in the .skin file.
I've been looking for the .skin infos here: http://www.wowdev.wiki/index.php ... ture_units
1. I had to find which textureUnit is assigned to the body. I found this by looking at the submesh field and in the submeshes, findind the one with the most triangles. I suppose it is th submesh #0 by default.
2. I've changed the following values in the textureUnit:
- TEXUNITFLAGS: 144
- order (shader_id): 32769
- d4 (op_count): 2
The flag 144 is not documented, but it is the one used in the Murloc model.
shader_id and op_count seem to be introduced in WoW 5.0.
shader_id 32769 seems to be the glossy shader effect.
op_count 2 is for loading 2 textures, one over the other.
Thanks a lot for your help guys! Now I've got a wonderful plastic Darkhound with a stick!
EDIT: the TEXUNITFLAGS doen't need to be changed, it can be set to 16.
There is no need to touch the renderFlags, as it is a shader effect, I suppose.
The 16,4 renderFlags is usefull if you want to make transparent models.
In fact, I had to modify many values in the .skin file.
I've been looking for the .skin infos here: http://www.wowdev.wiki/index.php ... ture_units
1. I had to find which textureUnit is assigned to the body. I found this by looking at the submesh field and in the submeshes, findind the one with the most triangles. I suppose it is th submesh #0 by default.
2. I've changed the following values in the textureUnit:
- TEXUNITFLAGS: 144
- order (shader_id): 32769
- d4 (op_count): 2
The flag 144 is not documented, but it is the one used in the Murloc model.
shader_id and op_count seem to be introduced in WoW 5.0.
shader_id 32769 seems to be the glossy shader effect.
op_count 2 is for loading 2 textures, one over the other.
Thanks a lot for your help guys! Now I've got a wonderful plastic Darkhound with a stick!
EDIT: the TEXUNITFLAGS doen't need to be changed, it can be set to 16.
There is no need to touch the renderFlags, as it is a shader effect, I suppose.
The 16,4 renderFlags is usefull if you want to make transparent models.