public void Load(ContentManager content)
        {
            _ParticlePhysicsShader = new ParticlePhysicsShader();
            _ParticlePhysicsShader.Load(content, "shaders/ParticlePhysics/ParticlePhysics");

            _bokehShader = new BokehShader();
            _bokehShader.Load(content, "Shaders/bokeh/bokeh");

            _shapePentagon   = content.Load <Texture2D>("shaders/bokeh/ShapePentagon");
            DefaultTexture2D = content.Load <Texture2D>("carred");
        }
Exemplo n.º 2
0
        public void Load(ContentManager content)
        {
            _bokehShader = new BokehShader();
            _bokehShader.Load(content, "shaders/Bokeh/Bokeh");

            DefaultTexture2D = content.Load <Texture2D>("carred");

            _shapeStar     = content.Load <Texture2D>("shaders/bokeh/ShapeSTar");
            _shapeCircle   = content.Load <Texture2D>("shaders/bokeh/ShapeCircle");
            _shapePentagon = content.Load <Texture2D>("shaders/bokeh/ShapePentagon");
            _shapeHexagon  = content.Load <Texture2D>("shaders/bokeh/ShapeHexagon");
        }