Page 4 of 4

Re: Support for texture arrays

Posted: Thu Aug 07, 2014 8:33 pm
by hendu
Sorry, I have better things to do with my time. It's now a week to this topic's 2-year anniversary.

Perhaps someone else will.

Re: Support for texture arrays

Posted: Thu Aug 07, 2014 9:38 pm
by Granyte
i have a dx9 /11 one working for the FVF
i ported the OGL one also before and if i can untangle the extensions mess i could get it working again soon

this is the next patch i'll try to get into the engine after instancing is done

Re: Support for texture arrays

Posted: Fri Aug 08, 2014 4:01 pm
by ison
Here is hendu's patch repatched to work in most recent Irrlicht version (1.9) from repo. I had to add 1 ugly thing to get glTexImage3D function using wglGetProcAddress, because it was undeclared, so if anyone knows what's the best place for it, please change it.
http://s000.tinyupload.com/index.php?fi ... 6911387924
There's 1 problem - texture is all black. Ugly hack to fix this is to use tex->lock(); tex->unlock();. Probably there's a problem with binding somewhere.

@Granyte it would be awesome! looking forward to it.