Code Monkey home page Code Monkey logo

vertexprofilertool's Introduction

VertexProfilerTool

一个Unity中可用的顶点密度debug工具,部分调试类型可导出密度信息 image

支持Build-in和URP管线,无需修改原有shader,即插即用

目前主要开发了五种调试模式:

  • OnlyTile模式:将屏幕按照指定的大小切分成多个tile后,统计每个tile的顶点密度,并根据不同的阈值标出 image
  • OnlyMesh模式:逐场景mesh统计顶点数和占用的像素数,计算出密度后根据阈值颜色逐mesh标出 image
  • TileBasedMesh模式:上面两种方法的结合,逐tile逐mesh统计,逐像素标记出密度阈值 image
  • MeshHeatMap模式:统计网格顶点的密度热力图(热力图的算法我不是很满意,效果也不够明显,后面有可能重写(todo+1)) image
  • OverDraw模式:查看当前场景Overdraw情况 image

部分模式可以查看统计信息(Mesh模式可以双击条目定位到目标场景资产),并将统计结果的输出excel: image

image

vertexprofilertool's People

Contributors

saberzg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.