Technique pass always "alpha_rejection greater 128"

Rak'kar

26-01-2007 23:55:00

No matter what I set alpha_rejection to, it is exported as "alpha_rejection greater 128"

This happens every time for this particular material setup, but I can't repro it offhand with other setups. I am loading this setup from a material library.

Input:


Output:

material CS_BumpMaterial
{
technique
{
pass
{
ambient 0 0 0 1
alpha_rejection greater 128

texture_unit
{
texture_alias 0
texture StockWhite4x4.dds
}

texture_unit
{
texture_alias 1
texture StockWhite4x4.dds
}

texture_unit
{
texture_alias 2
texture StockNormalMap4x4.dds
}
}

}

}

Rak'kar

29-01-2007 19:27:29

This still happens consistently. As long as I don't setup a vertex and pixel shader it's OK. But as soon as I do, it will never change away from alpha_rejection greater 128

Lioric

29-01-2007 23:46:57

I will review this

Lioric

07-02-2007 22:21:22

Several tests has been made but this issue is not reproduced here

If this is consistent, could you provide us with a test scene were this can be reproduced

Rak'kar

07-02-2007 22:51:14

Sorry, I don't have the level anymore. All I can tell you was the problem was caused by using material libraries. I remade the level without material libraries and it's been OK since then.