예제 #1
0
파일: ShadowScene.cs 프로젝트: Hozuki/Noire
 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();
 }
예제 #2
0
 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();
 }