Giter Site home page Giter Site logo

insight's Introduction

WebGL Insight

About

Insight is a WebGL debugging toolkit providing a variety of capabilities enabling more productive WebGL development and more efficient WebGL applications.

Features

  • Chrome Extension embedded in the Chrome DevTools panel
  • Overdraw Inspector
  • Mipmap Inspector
  • Depth Inspector
  • Call Stack Timeline and Statistics
  • Program Usage Count
  • Duplicate Program Usage Detector
  • Program Viewer
  • Frame Control
  • State Variable Editor
  • Resource Viewer

Installation & Usage

Install Insight from the Chrome Web Store.

When the extension is installed, open up the Chrome DevTools panel, click on the "WebGL Insight" tab, and browse to a WebGL application.

Overdraw Inspector

Detects how how many times a pixel has been drawn. The color ranges from green to red. Red shows a pixel that has been overdrawn multiple times while green is drawn on clear.

Before After

Mipmap Inspector

Displays the mipmap levels for a selected texture in different colors. Depending on how many mipmap levels there are and the maximum mipmap level, the colors will vary. This can be used to show whether certain mipmap levels of a selected texture is used.

Before After

Depth Inspector

Displays the relative depths of the pixels being drawn. Lighter values are further away whereas darker values are closer.

Before After

Call Stack Timeline and Statistics

Collects WebGL calls in a timeline.

Call Timeline

Counts WebGL calls during that time and displays the result in a histogram.

Call Statistics

Program Usage Count

Record how many times each shader program has been called by useProgram.

Program Usage

Duplicate Program Usage Detection

Detects whether there are any duplicate useProgram calls on the same program.

Duplicate Usage

Program Viewer

Program View

Frame Control

Pauses and controls animated frames.

Frame Control

State Variable Editor

Edit WebGL states.

State Editor

Resource Viewer

View textures, buffers, frame buffers, and render buffers.

Resource Viewer

Known Issues

  • Unity Web Game support is limited

insight's People

Contributors

aaronmorais avatar gold-a avatar blisse avatar dianxiang avatar jacobhamblin avatar

Watchers

James Cloos avatar NoScripter avatar  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.