vhpgomes
06-12-2008 14:42:52
I'm not sure if this a bug but I found out that if you hide a decal with:
Decal::setVisible(false);
and then tries to show it again with:
Decal::setVisible(true);
it will only render whenever you move the camera.
I was doing something like this in my code:
Decal::setVisible(true);
Camera::yaw(Radian(0.000000001));
Found it easier to hide/show decals using the
Decal::setTransparency(0); // to hide
Decal::setTransparency(1); // to show
Decal::setVisible(false);
and then tries to show it again with:
Decal::setVisible(true);
it will only render whenever you move the camera.
I was doing something like this in my code:
Decal::setVisible(true);
Camera::yaw(Radian(0.000000001));
Found it easier to hide/show decals using the
Decal::setTransparency(0); // to hide
Decal::setTransparency(1); // to show