Material does not load texture

I’ve made a 3D model in Blender and converted the blend file to a .j3o binary file. I have a material with a texture that is set to the model. However, the model gets the color and all the other settings from the material but not the texture. I’ve tried adding the texture via the .j3m and programatically but none of them work. The texture does neither show up in game or in scene composer. This is my .j3m-file:

[java]Material Room : Common/MatDefs/Light/Lighting.j3md {
MaterialParameters {
DiffuseMap : Repeat Textures/Brick-8913.jpg
UseMaterialColors : true
VTangent : false
HighQuality : false
LATC : false
UseAlpha : false
VertexLighting : false
Minnaert : false
UseVertexColor : false
SteepParallax : false
PackedNormalParallax : false
EnvMapAsSphereMap : false
SeparateTexCoord : false
LowQuality : false
HardwareShadows : false
WardIso : false
Specular : 1 1 1 1
Diffuse : 1 1 1 1
Ambient : 0 0 0 1
ParallaxHeight : 0.05
}
AdditionalRenderState {
Wireframe Off
ColorWrite On
FaceCull Back
DepthWrite On
PolyOffset 0.0 0.0
Blend Off
DepthTest On
}
}[/java]

hi =).

try removin “UseMaterialColors : true”

[java]Material Room : Common/MatDefs/Light/Lighting.j3md {
MaterialParameters {
DiffuseMap : Repeat Textures/Brick-8913.jpg
VTangent : false
HighQuality : false
LATC : false
UseAlpha : false
VertexLighting : false
Minnaert : false
UseVertexColor : false
SteepParallax : false
PackedNormalParallax : false
EnvMapAsSphereMap : false
SeparateTexCoord : false
LowQuality : false
HardwareShadows : false
WardIso : false
Specular : 1 1 1 1
Diffuse : 1 1 1 1
Ambient : 0 0 0 1
ParallaxHeight : 0.05
}
AdditionalRenderState {
Wireframe Off
ColorWrite On
FaceCull Back
DepthWrite On
PolyOffset 0.0 0.0
Blend Off
DepthTest On
}
}[/java]

You can use textures and material colors.

One guess as to the problem is that you somehow don’t have any UV for your vertexes.