public ShadowScene(IGameComponentRoot root, IGameComponentContainer parent) : base(root, parent) { _bufferedSettings = new ShadowSceneSettings(); _techniqueTable = new Dictionary<Tuple<bool, bool, SurfaceMapping, NumberOfLights>, Tuple<EffectTechnique, EffectTechnique, EffectTechnique>>(); SetNumberOfLights(NumberOfLights.One); UpdateBufferedSettings(); }
public ShadowScene(IGameComponentRoot root, IGameComponentContainer parent) : base(root, parent) { _bufferedSettings = new ShadowSceneSettings(); _techniqueTable = new Dictionary <Tuple <bool, bool, SurfaceMapping, NumberOfLights>, Tuple <EffectTechnique, EffectTechnique, EffectTechnique> >(); SetNumberOfLights(NumberOfLights.One); UpdateBufferedSettings(); }