Fading an object in/out using 'set alpha mapping on' does not work if the object is instanced and using transparency mode 6.
Cloned objects work, as do instanced objects with other transparency modes.
This is a very specific problem but pretty important for scaling up detail in a scene and fading objects out at distance. The other transparency modes don't look as good.
You can use any object that has transparency to test:
sync on
sync rate 60
load object "Trees/tree11.x", 1
set object transparency 1, 6 //Other modes work
hide object 1
instance object 2, 1
fade# = 0.0
set alpha mapping on 2, fade#
do
fade# = fade# + 1.0
set alpha mapping on 2, fade#
text 0, 0, str$(fade#)
if upkey()
move camera 10
endif
if downkey()
move camera -10
endif
sync
loop
This also happens in DarkGDK.
Thanks.