AnAng
 TerrainData.splatPrototypes = new SplatPrototype[1]{ new SplatPrototype() {
            texture=Caodi, //Texture2D的贴图
            normalMap=null, //复杂地形的贴图
            tileSize=new Vector2(15,15), //每张贴图的大小
            tileOffset=new Vector2(0,0),//相对于左上角的偏移量
            specular=new Color(0,0,0), //大体颜色 
            metallic=1, //反光率 再大就黑了 默认为0
            smoothness=0 //当主纹理没有alpha通道时,splat层的平滑值。???来个大佬解释下
        } };

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-08
  • 2021-04-21
  • 2021-12-06
  • 2021-10-20
  • 2022-12-23
  • 2021-12-05
  • 2021-11-02
相关资源
相似解决方案