源战役客户端
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

26 строки
642 B

1 месяц назад
  1. Shader "Hidden/PlantPreview" {
  2. Properties {
  3. _TintColor ("Tint Color", Color) = (0.5,0.5,0.5,0.1)
  4. _MainTex ("Texture", 2D) = "white" {}
  5. }
  6. Category {
  7. Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
  8. Blend SrcAlpha OneMinusSrcAlpha
  9. Cull Off Lighting Off ZWrite Off Fog { Color (0,0,0,0) }
  10. BindChannels {
  11. Bind "Color", color
  12. Bind "Vertex", vertex
  13. Bind "TexCoord", texcoord
  14. }
  15. SubShader {
  16. Pass {
  17. SetTexture [_MainTex] {
  18. constantColor [_TintColor]
  19. combine constant * primary
  20. }
  21. SetTexture [_MainTex] {
  22. combine texture * previous DOUBLE
  23. }
  24. }
  25. }
  26. }
  27. }