Beispiel #1
0
 public MaterialShaderManager()
 {
     shaders                   = new Dictionary <string, ShaderInfo>();
     depthPeelingShaders       = new Dictionary <string, ShaderInfo>();
     defaultFragmentShader     = ShaderLoader.CompileShaderFromFile(defaultFragmentShaderPath, ShaderType.FragmentShader);
     depthPeelerFragmentShader = ShaderLoader.CompileShaderFromFile(depthPeelerFragmentShaderPath, ShaderType.FragmentShader);
     DepthPeelingData          = new DepthPeelingData();
 }
 public MaterialShaderManager()
 {
     shaders = new Dictionary<string, ShaderInfo>();
     depthPeelingShaders = new Dictionary<string, ShaderInfo>();
     defaultFragmentShader = ShaderLoader.CompileShaderFromFile(defaultFragmentShaderPath, ShaderType.FragmentShader);
     depthPeelerFragmentShader = ShaderLoader.CompileShaderFromFile(depthPeelerFragmentShaderPath, ShaderType.FragmentShader);
     DepthPeelingData = new DepthPeelingData();
 }