Ejemplo n.º 1
0
        public MiniLight( MaterialGenerator generator )
        {
            this._materialGenerator = generator;

            this.RenderQueueGroup = RenderQueueGroupID.Two;
            this.renderOperation.operationType = OperationType.TriangleList;
            this.renderOperation.indexData = null;
            this.renderOperation.vertexData = null;
            this.renderOperation.useIndices = true;

            this.Diffuse = ColorEx.White;
            this.Specular = ColorEx.Black;
            this.Attenuation = Vector3.UnitX;

        }