Re: How to add irr-scene to node?
Posted: Mon Sep 09, 2019 9:09 pm
Sorry, I won't be able to help much I think. Your flags look correct. Although the default-font is unfortunately trying to create it's texture in a 32-bit format (second time today I run into a problem with this font - strange stuff...). But I don't expect this to affect other textures.
I can't test with Direct3D8 - I no longer have a text-environment for this. Is there a reason you can't use OpenGL or Direct3D9? Well D3D9 maybe too new for Voodoo 2, but OpenGL might work?
With D3D9 it creates the textures here in a 16-bit format with your flags. You can check that by setting a breakpoint in CD3D9Texture::createTexture at this place:
ColorFormat = Driver->getColorFormatFromD3DFormat(format);
(similar for D3D8Texture I suppose, the code is pretty identical).
I can't test with Direct3D8 - I no longer have a text-environment for this. Is there a reason you can't use OpenGL or Direct3D9? Well D3D9 maybe too new for Voodoo 2, but OpenGL might work?
With D3D9 it creates the textures here in a 16-bit format with your flags. You can check that by setting a breakpoint in CD3D9Texture::createTexture at this place:
ColorFormat = Driver->getColorFormatFromD3DFormat(format);
(similar for D3D8Texture I suppose, the code is pretty identical).