Guest shane.ploenges Posted March 22, 2011 Share Posted March 22, 2011 Hi everybody. I get the following pair of messages when loading a world with a mesh which uses a material with a certain texture: 11:44:43 Direct3D9 error: invalid call 11:44:43 D3D9Texture::create(): can't update DXT1 64x64 2D texture The problematic texture is used as a diffuse texture. Material is simply inherited from the "mesh_base" material: <material name="Sec6B_Road" parent="mesh_base"> <texture name="diffuse">textures/roadbridge01_n.dds</texture> </material> The problematic texture is still shown in the game on the mesh. When I replace the texture by some other texture the error disappears. Note that the Mip level 1 of the texture is 512x512 and the error is about 64x64, so it is probably about Mip level 4. Two points of concerns: 1. no way to figure out which texture is responsible except for deleting the meshes until the erro disappears. 2. The error itself. Is it a bug of the texture is bad in some manner? Any help is appreciated. I'm attaching the texture in case it is required. roadbridge01_n.rar Link to comment
ulf.schroeter Posted March 22, 2011 Share Posted March 22, 2011 Your 512x512 DDS texture only contains mipmaps down to 64x64. Smaller mipmaps are missing which causes DX9 error message. Recreating all mipmap levels solves the problem (see attached modified texture) roadbridge01_all_mipmaps_n.zip Link to comment
Recommended Posts