Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
DeferredLightingShaderPlugin.cs
Go to the documentation of this file.
1 // Copyright (c) 2011 Silicon Studio
2 
3 using SiliconStudio.Paradox.Shaders;
4 
5 namespace SiliconStudio.Paradox.Effects
6 {
7  /// <summary>
8  /// Shader used with <see cref="LightingPrepassPlugin"/>.
9  /// </summary>
10  public class DeferredLightingShaderPlugin : ShaderPlugin<LightingPrepassPlugin>
11  {
12  public override void SetupPasses(EffectMesh effectMesh)
13  {
14  }
15 
16  public override void SetupShaders(EffectMesh effectMesh)
17  {
18  // Merge only this shader on the main
19  throw new System.NotImplementedException();
20  EffectShaderPass mainShaderPass;
21  //var mainShaderPass = FindShaderPassFromPlugin(RenderPassPlugin.GBufferPlugin.MainPlugin);
22  mainShaderPass.Shader.Mixins.Add(new ShaderClassSource("LightDeferredShading"));
23  }
24  }
25 }