Forum > Texturing and 2D Art
[QUESTION] Glossy / shiny / plastic effect?
<< < (3/4) > >>
Quezako:
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.pxr.dk/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! :D
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.
Pinkhair3d:
Good to know!
Vesageough:
I was looking for that!
But I'm trying to apply this kind of effect on Characters, it seems the way textures are loaded is a lot different. I suppose I have to look at the .dbc files? I'm trying to do this on the new WoD HD models.
Rangorn:
Nice, i think i will to try some renderflags/effects on WoD :)
When doing Draenei HD Female model to cata, i have made a mistake with some submesh What happened ? Draenei face with a light inside her head :D
http://puu.sh/dHZvX/6f9e982c11.png
the Renderflags was 0,4 i think
Soldan:
Also, I can't remember the order - but if your reflect has a black background or a white background in the BLP, it could make it "not work". If so, change the blending mode to either 4 or 6, depending what you have on.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
|