public ShaderPass GetPass(MaterialGeometryRenderCore core, RenderContext context)
 {
     return(MaterialPass);
 }
Beispiel #2
0
 public ShaderPass GetPass(MaterialGeometryRenderCore core, RenderContext context)
 {
     return(core.RenderType == RenderType.Transparent && context.IsOITPass ? TransparentPass : MaterialPass);
 }