protected AbstractMaterial(string filename, RenderableCollectionDescription description) { EffectDescription = new EffectDescription(filename); PreRenderStateList = new List<ICommand>(); PostRenderStateList = new List<ICommand>(); itemsDescription = description; }
public ShaderMaterial(string filename, RenderableCollectionDescription description) : base(filename, description) { kA = 0; kD = 1; kS = 1; sP = 16; specularColor = new Color4(1f, 1f, 1f, 1f); ambientColor = new Color4(1f, 1f, 1f, 1f); diffuseColor = new Color4(1, 0, 0, 1); }