Advertisement
Guest User

material

a guest
May 14th, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. singleton CustomMaterial(chest_mat)
  2. {
  3. // Map this custom material to the soldier's body
  4. mapTo = "chest";
  5.  
  6. // Samplers: diffuse, normal, mask 1 and mask 2.
  7. sampler["ColorSampler"] = "art/shapes/chest/chestDiff.png";
  8. sampler["NormalSampler"] = "art/shapes/chest/chestDiff_n.png";
  9. sampler["Mask1Sampler"] = "art/shapes/chest/mask1.png";
  10. sampler["Mask2Sampler"] = "art/shapes/chest/mask2.png";
  11. sampler["GradientMapSampler"] = "art/shapes/chest/gradientMap.png";
  12.  
  13. // Point to our shader data we defined above
  14. shader = HeroShader;
  15.  
  16. // Our minimum shader version requirements
  17. version = 2.0;
  18. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement