[Fixed]SVN Rev 824 and EMT_TRANSPARENT_VERTEX_ALPHA OGL
-
- Competition winner
- Posts: 95
- Joined: Wed Nov 30, 2005 8:53 am
- Location: France : midi pyrénées
[Fixed]SVN Rev 824 and EMT_TRANSPARENT_VERTEX_ALPHA OGL
Hello,
I use a fullscreen quad with RTT for effect but i have a ZOrder problem.
For the material of the quad I use:
Material.MaterialType = video::EMT_TRANSPARENT_VERTEX_ALPHA;
I use a fullscreen quad with RTT for effect but i have a ZOrder problem.
For the material of the quad I use:
Material.MaterialType = video::EMT_TRANSPARENT_VERTEX_ALPHA;
Last edited by Simson on Thu Sep 20, 2007 5:00 pm, edited 1 time in total.
That may be driver related problem. We all know, that some companies release low-quality linux drivers, and some don't do that at all. Linux is still treated as this worse OS and some functions connected with 3D acceleration may not work.
Try to test your code on Windows to make sure it's irrlicht problem.
Try to test your code on Windows to make sure it's irrlicht problem.
-
- Competition winner
- Posts: 95
- Joined: Wed Nov 30, 2005 8:53 am
- Location: France : midi pyrénées
Yes hybrid it's the modified code I have posted in the code snipets.
You can find it here : http://www.coder3d.com/forum/viewtopic.php?id=4
Before the main loop :
#include <CEffects.h>
EffectsLibrary::CreateGlow(camera,smgr,128);
In the main loop before smgr->drawAll(); :
EffectsLibrary::RenderGlow(smgr,100,100,250,250,3);
And after the main loop :
EffectsLibrary::DeleteEffects();
In advance thanks you
You can find it here : http://www.coder3d.com/forum/viewtopic.php?id=4
Before the main loop :
#include <CEffects.h>
EffectsLibrary::CreateGlow(camera,smgr,128);
In the main loop before smgr->drawAll(); :
EffectsLibrary::RenderGlow(smgr,100,100,250,250,3);
And after the main loop :
EffectsLibrary::DeleteEffects();
In advance thanks you
-
- Competition winner
- Posts: 95
- Joined: Wed Nov 30, 2005 8:53 am
- Location: France : midi pyrénées
Oups, sorry... you are totaly right Bitplane, it's a bug of my forum
You can download the code here : http://www.coder3d.com/projects/crashcar/TerrainLIB.rar
You can download the code here : http://www.coder3d.com/projects/crashcar/TerrainLIB.rar
-
- Competition winner
- Posts: 95
- Joined: Wed Nov 30, 2005 8:53 am
- Location: France : midi pyrénées
Ok, i will try with the simple terrain sample in the sdk but it's strange because that work perfect with DX9 and not Opengl.
[edit]The problem appear only when i use the shader of my terrain system ( http://www.coder3d.com/forum/viewtopic.php?id=5 ) .
Do you have changed anything with the shader between irrlicht 1.3.1 and the SVN because that work on irrlicht 1.3.1....
[edit]The problem appear only when i use the shader of my terrain system ( http://www.coder3d.com/forum/viewtopic.php?id=5 ) .
Do you have changed anything with the shader between irrlicht 1.3.1 and the SVN because that work on irrlicht 1.3.1....
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
http://irrlicht.svn.sourceforge.net/vie ... p?view=log
There were some changes, some of them can be viewed via the link above. Might be a problem with material setting. Maybe when you change the position of the init loop from after the shader call to before it might fix it. I guess it finds the wrong textures...
There were some changes, some of them can be viewed via the link above. Might be a problem with material setting. Maybe when you change the position of the init loop from after the shader call to before it might fix it. I guess it finds the wrong textures...