Hi, I've built 1.8 from source and I am using GLES 2 for iOS (testing with iPad 2 and 3). I am trying to create a floating point texture, but it always seems to default back to PF_B8G8R8A8. Any suggestions?
Code: Select all
TexturePtr texture = TextureManager::getSingleton().createManual("DynamicTexture", ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, TEX_TYPE_2D, 256, 256, 0, PF_FLOAT32_RGBA, TU_DYNAMIC_WRITE_ONLY_DISCARDABLE);
I have tried PF_FLOAT32_RGBA, PF_FLOAT16_RGBA, PF_FLOAT32_R, etc... All of these have gone back to PF_B8G8R8A8. I've also played around with the usage flags, but nothing changes.
EDIT: Same results with GLES 1.x