The problem is: I try to display points using a texture which I want to become smaller by distance. Therefore I am using point attenuation like this:
Code: Select all
PassTexture->setPointAttenuation(true, 0.1f, 0.9f, 0.1f);
PassTexture->setPointSize(0.5f);
PassTexture->setPointMinSize(0.1f);
PassTexture->setPointMaxSize(0.5f);
Code: Select all
PassTexture->setPointSpritesEnabled(true);
PassTexture->setCullingMode(Ogre::CULL_NONE);
PassTexture->setSceneBlending(Ogre::SBT_TRANSPARENT_ALPHA);
PassTexture->setLightingEnabled(false);
PassTexture->setDepthCheckEnabled(false);
I guess I have made a newbie-bug... any ideas would be appreciated very much!