UnlitWhite.shader 371 B

1234567891011121314151617181920212223
  1. Shader "Custom/UnlitWhite" {
  2. Properties {
  3. }
  4. SubShader {
  5. Tags { "RenderType"="Opaque" }
  6. LOD 200
  7. CGPROGRAM
  8. #pragma surface surf Lambert
  9. struct Input {
  10. float2 uv_MainTex;
  11. };
  12. void surf (Input IN, inout SurfaceOutput o) {
  13. o.Albedo = half3(0.0,0.0,0.0);
  14. o.Alpha = 1.0;
  15. o.Emission = half3(1.0,1.0,1.0);
  16. }
  17. ENDCG
  18. }
  19. FallBack "Diffuse"
  20. }