Exemple #1
0
        public override void unload()
        {
            _lightEffect.Dispose();

            diffuseRT.Dispose();
            normalRT.Dispose();
            lightRT.Dispose();
        }
Exemple #2
0
        public override void unload()
        {
            _lightEffect.Dispose();

            diffuseRT.Dispose();
            normalRT.Dispose();
            lightRT.Dispose();

            if (_nullNormalMapTexture != null)
            {
                _nullNormalMapTexture.Dispose();
            }
        }