Results 199 comments of kas1e

I probably need to run glsnoop on it, to see what happens (maybe i will see gl errors there, etc)

Daniel were fast enough and add GL_R support to ogles2, and so i tried demo : but still black screen... I do grab glsnoop log, but it didn't looks bad...

Dunno.. Daniel says after log checking that the log shows only two calls to glTexImage2D and no GL_RED or GL_RG is being used at all, just std. GL_RGBA. So maybe...

Yeah. see what i have now: ``` 3/0.Work:demos/wayang> wayang-by-cyberneticgenetics LIBGL: Initialising gl4es LIBGL: v1.1.5 built on Oct 1 2022 10:49:19 LIBGL: Using GLES 2.0 backend LIBGL: Using Warp3DNova.library v54 revision...

And as for texture : it uses libpng which works in other apps for sure .. hm strange.. stange that in glsnoop log we do not have any GL_R .....

Checked, nope, no GL_RED. Interesting info found, if i run demo and wait till end (on black screen), then on final scene i have that, check this out (strating from...

Btw, you compile it with png12 or png16 ?

Tried with png16 - same, only that on running have warnings from libpng about incorrect sRGB profile, but that probabaly harmless

Yeah ! Swap of ```GL_UNSIGNED_INT_8_8_8_8``` to ```GL_UNSIGNED_INT_8_8_8_8_REV``` in OGL_TextureMap_LoadTGA did the trick ! As for shading : is there shadows in use ? Why i ask about, because GL4ES do...

Btw, forgot to ask : we do have little problems with the place where "prefs" and "scoreboard" files are saved : on amigaos4 we do have ```PROGDIR:``` (as local current...