When i try setting the meshes vertex alpha transparency for each vertex... its transparent during the day, and not the night. Fully transparent areas show as black.
Im using EMT_TRANSPARENT_VERTEX_ALPHA with pure vertex data. No texture... but its still black. I even tried inverting the alpha values.. and nothing. what the heck is wrong?
Code: Select all
((irr::video::S3DVertex*)v)[b].Color = skyimage->getPixel(shiftFactor, 9);
((irr::video::S3DVertex*)v)[b].Color.setAlpha(this->InvertAlpha(skyimage->getPixel(shiftFactor,9).getAlpha()));
please help.. im about to scalp myself.