Disk.shader 650 B

1234567891011121314151617181920212223242526
  1. //======= Copyright (c) Stereolabs Corporation, All rights reserved. ===============
  2. Shader "Point Cloud/Disk"
  3. {
  4. Properties
  5. {
  6. _Tint("Tint", Color) = (0.5, 0.5, 0.5, 1)
  7. _PointSize("Point Size", Float) = 0.05
  8. }
  9. SubShader
  10. {
  11. Tags { "RenderType"="Opaque" }
  12. Cull Off
  13. Pass
  14. {
  15. Tags { "LightMode"="ForwardBase" }
  16. CGPROGRAM
  17. #pragma vertex Vertex
  18. #pragma geometry Geometry
  19. #pragma fragment Fragment
  20. #pragma multi_compile_fog
  21. #include "Disk.cginc"
  22. ENDCG
  23. }
  24. }
  25. }