Esempio n. 1
0
 public override void GenerateShader(MaterialGeneratorContext context)
 {
     if (Shader != null && Shader.MixinReference != null && !Shader.MixinReference.Equals(""))
     {
         var shaderSource = Shader.GenerateShaderSource(context, null);
         context.AddCustomShaderSource(shaderSource);
     }
 }