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

Inconsistent display of binary numbers

JannikGM opened this issue · comments

I added binary numbers with the 0b prefix in https://github.com/BabylonJS/Spector.js/pull/212/files#r738361437

Only afterwards, I realized that the sidebar has a different format for representing binary numbers:

STENCIL_BACK_VALUE_MASK: 00000000000000000000000000001000
STENCIL_BACK_WRITEMASK: 00000000000000000000000000000000
[...]
STENCIL_VALUE_MASK: 00000000000000000000000000001000
STENCIL_WRITEMASK: 00000000000000000000000000000000

Strangely, these are even expanded to 32 bits, despite my STENCIL_BITS being only 8.

the format does not account for the current stencil size setup, agree it would be nice to add