CubismBuiltinShaders.cs 901 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /**
  2. * Copyright(c) Live2D Inc. All rights reserved.
  3. *
  4. * Use of this source code is governed by the Live2D Open Software license
  5. * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
  6. */
  7. using UnityEngine;
  8. namespace Live2D.Cubism.Rendering
  9. {
  10. /// <summary>
  11. /// Default shader assets.
  12. /// </summary>
  13. public static class CubismBuiltinShaders
  14. {
  15. /// <summary>
  16. /// Default unlit shader.
  17. /// </summary>
  18. public static Shader Unlit
  19. {
  20. get
  21. {
  22. return Shader.Find("Live2D Cubism/Unlit");
  23. }
  24. }
  25. /// <summary>
  26. /// Shader for drawing masks.
  27. /// </summary>
  28. public static Shader Mask
  29. {
  30. get
  31. {
  32. return Shader.Find("Live2D Cubism/Mask");
  33. }
  34. }
  35. }
  36. }