Skip to content

Instantly share code, notes, and snippets.

@prideout
Created March 7, 2019 17:13
Show Gist options
  • Save prideout/93468f69248eec722475063f7d9c566e to your computer and use it in GitHub Desktop.
Save prideout/93468f69248eec722475063f7d9c566e to your computer and use it in GitHub Desktop.
filament.js:6 FEngine (32 bits) created at 0x52a290 (threading is disabled)
filament.js:6 prideout BindTexture unit=15 texture=9
filament.js:6 prideout TexStorage texture=34067 internalFormat=0x8058
filament.js:6 prideout BindTexture unit=15 texture=11
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x881b
filament.js:6 prideout BindTexture unit=15 texture=12
filament.js:6 prideout TexStorage texture=34067 internalFormat=0x83f3
filament.js:6 prideout BindTexture unit=15 texture=13
filament.js:6 prideout TexStorage texture=34067 internalFormat=0x8058
filament.js:6 prideout BindTexture unit=15 texture=23
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8c43
filament.js:6 prideout BindTexture unit=15 texture=24
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8058
filament.js:6 prideout BindTexture unit=15 texture=25
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8058
filament.js:6 prideout BindTexture unit=15 texture=26
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8c43
filament.js:6 prideout BindTexture unit=15 texture=27
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8058
filament.js:6 prideout BindTexture unit=15 texture=28
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8058
filament.js:6 prideout BindTexture unit=15 texture=29
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8c43
filament.js:6 prideout BindTexture unit=15 texture=30
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8058
filament.js:6 prideout BindTexture unit=15 texture=31
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8058
filament.js:6 prideout BindTexture unit=15 texture=32
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8c43
filament.js:6 prideout BindTexture unit=15 texture=33
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8058
filament.js:6 prideout BindTexture unit=15 texture=34
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8058
filament.js:6 prideout BindTexture unit=15 texture=35
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8c43
filament.js:6 prideout BindTexture unit=15 texture=36
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8058
filament.js:6 prideout BindTexture unit=15 texture=37
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8058
filament.js:6 prideout BindTexture unit=15 texture=45
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x8232
filament.js:6 prideout BindTexture unit=15 texture=46
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x823a
filament.js:6 prideout BindTexture unit=15 texture=49 --------------------------- this is the relevant texture
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x81a5 ------------ this is the relevant texture
5filament.js:6 prideout DrawElements program=[Filament Default Material]
filament.js:6 prideout BindTexture unit=15 texture=60
filament.js:6 prideout TexStorage texture=3553 internalFormat=0x881a
filament.js:6 prideout BindTexture unit=0 texture=49 ---------------------------- this is the relevant texture
filament.js:6 prideout GenSamplers sampler=72 mode=GL_COMPARE_REF_TO_TEXTURE ---- this is the relevant sampler
filament.js:6 prideout BindSampler unit=0 sampler=72 ---------------------------- this is the relevant sampler
filament.js:6 prideout BindTexture unit=1 texture=11
filament.js:6 prideout GenSamplers sampler=73 mode=GL_NONE
filament.js:6 prideout BindSampler unit=1 sampler=73
filament.js:6 prideout BindTexture unit=2 texture=12
filament.js:6 prideout GenSamplers sampler=74 mode=GL_NONE
filament.js:6 prideout BindSampler unit=2 sampler=74
filament.js:6 prideout BindTexture unit=3 texture=23
filament.js:6 prideout BindSampler unit=3 sampler=74
filament.js:6 prideout BindTexture unit=4 texture=24
filament.js:6 prideout BindSampler unit=4 sampler=74
filament.js:6 prideout BindTexture unit=5 texture=25
filament.js:6 prideout BindSampler unit=5 sampler=74
filament.js:6 prideout DrawElements program=[helmet]
filament.js:6 [.WebGL-0x7fbef00c9a00]GL ERROR :GL_INVALID_OPERATION : glDrawElements: Texture bound to texture unit 0 with internal format GL_DEPTH_COMPONENT16 is not compatible with sampler type GL_SAMPLER_2D_SHADOW_EXT
Module.quit @ filament.js:6
@prideout
Copy link
Author

prideout commented Mar 7, 2019

see also google/filament#939

Please ignore the "texture" arg for TexStorage, I accidentally printed the target rather than the id in that spot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment