id-tech-3-tools / map-compiler

id Tech 3 Map Compiler
MIT License
8 stars 4 forks source link

Q3map2 ase model converter does material name wrong #5

Closed isRyven closed 6 years ago

isRyven commented 6 years ago

Q3map2 ase model converter does material name wrong, it puts the 1st texture in a shader as material, so shaders won't work on models.

Aciz commented 6 years ago

Comment in this: in material definition, conversion does MATERIAL_NAME and MAP_NAME correctly, but BITMAP is incorrect, which is what compiler reads as shader for the surface. So just make BITMAP same value as either of those.

isRyven commented 6 years ago

flags -shaderasbitmap, -shadersasbitmap fixes it