missing parts in exported actor

I have a problem on the upper eyelashes of the human model. It does not show up when it is loaded as actor (but it shows up when it is loaded as a model).

The eyelashes are pieces of polygons mapped to the texture file like this one. I make the alpha to be white to illustrate the issue:

I also double created the eyelashes to make it in front of the model, for you to clearly see it. This is the pview result.

Here is the result when it loaded through Actor interface.

If you look at it very carefully, the upper eyelashes actually there, as a semitransparent gray image.

The texture definition in the egg file is:

<Texture> eyelashes.001_00_Col {
  <Scalar> format { rgba }
  <Scalar> wrap { repeat }
  <Scalar> minfilter { linear_mipmap_linear }
  <Scalar> magfilter { linear_mipmap_linear }
  <Scalar> envtype { modulate }
  <Scalar> alpha { blend_no_occlude }
  <Scalar> draw-order { 10000 }

Any idea and advice on this problem ?
Thanks !

Does this help?


The model become a ghost after applying that !

But you remind me that I have put in your shadow manager. If I remove that, everything works fine. It is interesting that only the upper eyelashes is not working with your shadow manager ! Any idea ?

It became a ghost? Are you sure the entire model doesn’t have somehow transparency then?

It wouldn’t surprise me that my ShadowManager handled transparent objects different. I must have forgotten the alpha calculations in the shader.

It becomes partial transparency.