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

37 строки
884 B

1 месяц назад
  1. Shader "T4MShaders/ShaderModel1/T4M 2 Textures ManualAdd CustoLM 1DC" {
  2. Properties {
  3. _Splat0 ("Layer1 (RGB)", 2D) = "white" {}
  4. _Splat1 ("Layer2 (RGB)", 2D) = "white" {}
  5. _Control ("Mask (RGB)", 2D) = "white" {}
  6. _LightMap ("Lightmap (RGB)", 2D) = "lightmap" { LightmapMode }
  7. _MainTex ("Never Used", 2D) = "white" {}
  8. }
  9. SubShader {
  10. Tags { "RenderType"="Opaque" }
  11. LOD 100
  12. Lighting Off
  13. Pass {
  14. BindChannels {
  15. Bind "Vertex", vertex
  16. Bind "normal", normal
  17. Bind "texcoord1", texcoord0 // lightmap uses 2nd uv
  18. Bind "texcoord1", texcoord1 // lightmap uses 2nd uv
  19. Bind "texcoord", texcoord2 // main uses 1st uv
  20. }
  21. SetTexture [_Splat0]
  22. SetTexture [_Control]
  23. {
  24. combine previous, texture
  25. }
  26. SetTexture [_Splat1]
  27. {
  28. combine texture lerp(previous) previous
  29. }
  30. SetTexture [_LightMap] {
  31. combine previous * texture DOUBLE
  32. }
  33. }
  34. }
  35. }