BabylonJS / Spector.js

Explore and Troubleshoot your WebGL scenes with ease.

Home Page:http://spector.babylonjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spector does not capture images of our app

wdanilo opened this issue · comments

Hi, I installed Spector by using npm install spectorjs, and I'm using it as:

var SPECTOR = require("spectorjs");

var spector = new SPECTOR.Spector();
spector.displayUI();

After opening my app, I can see:
CleanShot 2023-01-23 at 07 17 57@2x

So far, everything is OK. I can chose the canvas:
CleanShot 2023-01-23 at 07 18 25@2x

However, after clicking the red button, the images do not show up and I can see an icon of a broken image in the "captures" tab:

CleanShot 2023-01-23 at 07 18 59@2x

CleanShot 2023-01-23 at 07 19 11@2x

Would anyone be so nice and help me debug it / make it run correctly? :)

This can certainly not capture the type of frame buffer (mainly related to the texture inside) you are using.

Only RGB/RGBA types with 8/16/32 bits are supported IIRC

We would need a repro to investigate further unfortunately, closing until we get more info mostly for house keeping but we can continue the discussion