[fixed]Unsupported Texture Format
[fixed]Unsupported Texture Format
The console window logs a lot of "unsupported texture format" messages, even though everything's in place on the screen. So what is that about?
Never take advice from someone who likes to give advice, so take my advice and don't take it.
Yes, I found it.
The warning is displayed twice for that line in OpenGL (not in D3D).
If you specify the ECOLOR_FORMAT the warnings are gone.
The warning is displayed twice for that line in OpenGL (not in D3D).
Code: Select all
ITexture* test = driver->addRenderTargetTexture(dimension2du(512, 512));
Code: Select all
ITexture* test = driver->addRenderTargetTexture(dimension2du(512, 512), "test", ECF_A8R8G8B8);
Never take advice from someone who likes to give advice, so take my advice and don't take it.
This issue still seems to exist in the latest revision of the 1.7. It's not really serious, just a kind of annoying inconsistency between D3D and OpenGL drivers.
If the format for addRenderTargetTexture() is not given (ECF_UNKNOWN), in D3D it uses the same format as screen buffer. But in OpenGL it always defaults to GL_RGBA8 and gives the "Unsupported texture format" warning.
If the format for addRenderTargetTexture() is not given (ECF_UNKNOWN), in D3D it uses the same format as screen buffer. But in OpenGL it always defaults to GL_RGBA8 and gives the "Unsupported texture format" warning.
error is present in irrlicht svn:
see water demo with code:
http://otherfenixbennuprojects.googleco ... aterCC.rar
..
see water demo with code:
http://otherfenixbennuprojects.googleco ... aterCC.rar
..
Bennu (Best 2d and 3D dev-tool)
http://bennupack.blogspot.com
Pixtudio (Best 2D development tool)
http://pixtudiopack.blogspot.com
Bennu3D(3D Libs for bennu)
http://3dm8ee.blogspot.com/
Colombian Developers - Blog:
http://coldev.blogspot.com/
http://bennupack.blogspot.com
Pixtudio (Best 2D development tool)
http://pixtudiopack.blogspot.com
Bennu3D(3D Libs for bennu)
http://3dm8ee.blogspot.com/
Colombian Developers - Blog:
http://coldev.blogspot.com/
thanks for reply...
https://irrlicht.svn.sourceforge.net/sv ... cht/trunk/
i like use the mirrror and water code, in my game
but is opengl only
https://irrlicht.svn.sourceforge.net/sv ... cht/trunk/
i like use the mirrror and water code, in my game
but is opengl only
Bennu (Best 2d and 3D dev-tool)
http://bennupack.blogspot.com
Pixtudio (Best 2D development tool)
http://pixtudiopack.blogspot.com
Bennu3D(3D Libs for bennu)
http://3dm8ee.blogspot.com/
Colombian Developers - Blog:
http://coldev.blogspot.com/
http://bennupack.blogspot.com
Pixtudio (Best 2D development tool)
http://pixtudiopack.blogspot.com
Bennu3D(3D Libs for bennu)
http://3dm8ee.blogspot.com/
Colombian Developers - Blog:
http://coldev.blogspot.com/
is present in reflected shaders how water or otherhybrid wrote:Could you add a simple test case which reproduces this error? I tested several situations and couldn't see the message anymore last time.
reflected water examples :
http://irrlicht.sourceforge.net/phpBB2/ ... ight=water
thanks for reply
.
Bennu (Best 2d and 3D dev-tool)
http://bennupack.blogspot.com
Pixtudio (Best 2D development tool)
http://pixtudiopack.blogspot.com
Bennu3D(3D Libs for bennu)
http://3dm8ee.blogspot.com/
Colombian Developers - Blog:
http://coldev.blogspot.com/
http://bennupack.blogspot.com
Pixtudio (Best 2D development tool)
http://pixtudiopack.blogspot.com
Bennu3D(3D Libs for bennu)
http://3dm8ee.blogspot.com/
Colombian Developers - Blog:
http://coldev.blogspot.com/