EMT_TRANSPARENT_ALPHA_CHANNEL_REF bug ?

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
sodandk
Competition winner
Posts: 340
Joined: Wed Aug 10, 2011 11:58 am

EMT_TRANSPARENT_ALPHA_CHANNEL_REF bug ?

Post by sodandk »

I am experiencing a wierd bug

To make it simple, I make a cube, and set EMT_TRANSPARENT_ALPHA_CHANNEL_REF for its material.
In debug mode it looks perfect, but in releasemode there are some 'holes' in it, or wierd clipping or something wierd,
but it does not consistantly happen. Some objects look fine, some are missing parts... ?!

debug 32 and 64 bit always works
release 32 and 64 has problems

help
sodandk
Competition winner
Posts: 340
Joined: Wed Aug 10, 2011 11:58 am

Re: EMT_TRANSPARENT_ALPHA_CHANNEL_REF bug ?

Post by sodandk »

ok, so I found out that if the alpha value of an vertex of the objects is set to 0, set then vertex becomes invisible.
I now set it to 255 and the problem was solved.
Just wierd that EMT_TRANSPARENT_ALPHA_CHANNEL_REF also takes the vertex alpha value into account.
Post Reply