zoukankan      html  css  js  c++  java
  • unity drawcall测试

    unity引擎影响drawcall的元素(使用Quad和Cube对比测试)

    1、相机的background(没有渲染元素区域的颜色),4Verts、2Tris、1SetPass calls;                        total:4Verts、2Tris、1SetPass calls

    2、场景中添加一个Quad(没有灯光),4Verts、2Tris、1SetPass calls;                8Verts、4Tris、2SetPass calls

    3、打开平行光,关闭Quad的CastShadows&ReceiveShadows时,shadow casters:0;            12Verts、6Tris、3SetPass calls     //添加光照后模型的顶点和三角面会翻倍

    4、打开平行光,打开Quad的CastShadows&ReceiveShadows时,shadow casters:2;            24Verts、12Tris、6SetPass calls  //接受阴影和产生阴影后顶点和三角面会翻倍

  • 相关阅读:
    复利计算器2.01
    复利计算器2.0
    0429团队3.0
    0428 团队项目合作2.0作业
    "数学口袋精灵"bug
    操作系统-实验2
    博客评论
    复利计算升级
    0408 结对合作
    0406复利计算5.0
  • 原文地址:https://www.cnblogs.com/alps/p/9058647.html
Copyright © 2011-2022 走看看