Drawing a geometry buffer with alpha enabled?
Posted: Mon Nov 02, 2009 01:03
I'm trying to get a GeometryBuffer to be drawn with alpha enabled, ie the textures that are transparent should be when they get rendered.
Currently they're showing up white where they should be showing the background.
Let me know if this is too vague, I just haven't found any documentation regarding this.
Edit: Turns out it's OGRE setting the texture format to X8R8G8B8 (which AFAIK is padded without alpha?). Not sure why it does that but oh well, thanks to those who have read.
Another edit: OGRE doesn't like TIF's that contain alpha, that's for sure. Converting the file to a PNG works wonders, but that's not really a solution. Going to mention this on the OGRE forums.
Currently they're showing up white where they should be showing the background.
Let me know if this is too vague, I just haven't found any documentation regarding this.
Edit: Turns out it's OGRE setting the texture format to X8R8G8B8 (which AFAIK is padded without alpha?). Not sure why it does that but oh well, thanks to those who have read.
Another edit: OGRE doesn't like TIF's that contain alpha, that's for sure. Converting the file to a PNG works wonders, but that's not really a solution. Going to mention this on the OGRE forums.