Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- singleton CustomMaterial(chest_mat)
- {
- // Map this custom material to the soldier's body
- mapTo = "chest";
- // Samplers: diffuse, normal, mask 1 and mask 2.
- sampler["ColorSampler"] = "art/shapes/chest/chestDiff.png";
- sampler["NormalSampler"] = "art/shapes/chest/chestDiff_n.png";
- sampler["Mask1Sampler"] = "art/shapes/chest/mask1.png";
- sampler["Mask2Sampler"] = "art/shapes/chest/mask2.png";
- sampler["GradientMapSampler"] = "art/shapes/chest/gradientMap.png";
- // Point to our shader data we defined above
- shader = HeroShader;
- // Our minimum shader version requirements
- version = 2.0;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement