Exemple #1
0
 public MSAA(PostProcessor postProcessor, ContentManager content) : base(postProcessor)
 {
     _rasterizerState = new RasterizerState
     {
         MultiSampleAntiAlias = true
     };
 }
 public PostProcessorEffect(PostProcessor postProcessor)
 {
     PostProcessor = postProcessor;
 }
Exemple #3
0
 public Bloom(PostProcessor postProcessor, ContentManager content) : base(postProcessor)
 {
     _blurEffect = content.Load <Effect>("effect_blur");
 }
Exemple #4
0
 public FXAA(PostProcessor postProcessor, ContentManager content) : base(postProcessor)
 {
     _fxaaEffect = content.Load <Effect>("effect_fxaa");
 }
Exemple #5
0
 public Negative(PostProcessor postProcessor, ContentManager content) : base(postProcessor)
 {
     _negativeEffect = content.Load <Effect>("effect_negative");
 }
Exemple #6
0
 public SMAA(PostProcessor postProcessor, ContentManager content) : base(postProcessor)
 {
     _smaaEffect = content.Load<Effect>("effect_smaa");
     quad = new Quad();
 }