_Color("Color",Color)=(1,1,1,1)//RGBA

_Vector("vector",Vector)=(1,2,3,4) //,fixed4 
 _Int("int",Int)=123
 _Float("float",Float)=5.5
 _Range("range"Range(1,10))=5  
 _2D("texture",2D)="white"{}  
 _Cube("cube",Cube)="white"{}//cube是天空盒子。
 _3D("texture",3D)="white"{}//3d纹理
float,half,fixed的区别
float存32位
half存16位:-6万~6万
fixed存11位:-2~2

相关文章:

  • 2021-08-13
  • 2022-02-06
  • 2021-05-08
  • 2022-12-23
  • 2022-12-23
  • 2021-05-06
  • 2021-08-14
  • 2022-12-23
猜你喜欢
  • 2021-05-28
  • 2021-04-26
  • 2021-05-09
  • 2021-09-27
  • 2022-02-27
  • 2022-12-23
  • 2021-04-27
相关资源
相似解决方案