[Help] Using VertexCompression with ImagePagingLight

Paulo

05-05-2007 23:29:42

Hello,

I have no idea if this is a bug, but if i enable VertexCompression while using the ImagePagingLight texture format, the detail and lightmap parts of the material dont get displayed, i just get the image and nothing else.

I have tried doing the same thing in the PLSM Binary Demo and get the same results, its a shame because i wanted to turn on VertexCompression so i could use LOD Morphing, is there any way of doing this without having VertexCompression enabled?

One more problem, i tried modifying the ImagePagingLight material to see if i could get some LOD working just as a test, but it doesnt seem to do anything, the first technique is the only one used.... here is the material...


material ImagePagingLight
{
lod_distance 500
technique
{
lod_index 0
pass
{
texture_unit
{
texture Image
tex_address_mode clamp
}
texture_unit
{
texture Detail3.jpg
scale 0.05 0.05
tex_address_mode mirror
}
texture_unit
{
texture Light
colour_op modulate
tex_address_mode clamp
}
}
}
technique
{
lod_index 1
pass
{
texture_unit
{
texture Image
tex_address_mode clamp
}
}
}
}


Thanks,
Paulo.

Paulo

09-05-2007 15:44:12

I have fixed the LOD problem, it turns out PLSM has a "MaterialDistanceLod" option that i didnt have in my cfg's and this overides the materials "lod_distances"

This just makes me wonder what other options im missing, is there a full list of PLSM options anywhere?