Пример #1
0
 public static Shader MattShaderFromColour(Color color)
 {
     var s = new Shader();
     s.Colour = color;
     s.IsReflective = false;
     return s;
 }
Пример #2
0
 public static Shader MirrorShader()
 {
     var s = new Shader
     {
         IsReflective = true,
         Colour = new Color(1f,1f,1f,0.2f)
     };
     return s;
 }