Quick Shader Questions

WarKirby

Arty person
Joined
Jul 13, 2006
Messages
5,317
Location
Glasgow, Scotland
Making a unit which has alpha parts, that I want to be glossy and/or glowy

1. Is TCiv4SkinningGlossNoTeamColor a valid shader name? I'm getting infinite stalling when I try to view the unit ingame. And if not, what should I be using?

2. Is a gloss map actually required when using a gloss shader. On one part, I want glow only, not gloss. Do I need to throw in a flat black gloss map for that?
 
to look after the correct shader names, load the nif in sceneviewer and check / change the name there [if you can´t load the model, change the shader name to a normal one and change in sceneviewer]. But it seems there is only a TCiv4SkinningNoTeamColor.

if a gloss map is needed / supported depends on the shader, Refar posted in his texture tutorial (http://forums.civfanatics.com/downloads.php?do=file&id=7232) some explaination about shaders and the needed textures. And if the shader you applied needs a gloss map, you can always create a very tiny (eg 16 x 16) full black one.

You can also always split your unit in two meshes - one with all alpha parts and one for the part without and assign different shaders to each part (like in some vanilla units)
 
Back
Top Bottom