Support for texture arrays

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Support for texture arrays

Post 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.
Granyte
Posts: 850
Joined: Tue Jan 25, 2011 11:07 pm
Contact:

Re: Support for texture arrays

Post 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
ison
Posts: 42
Joined: Sun Mar 24, 2013 9:09 pm

Re: Support for texture arrays

Post 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.
Post Reply