Can I use the blend modes with 2D textures?
And HOW???
Problem with displaying 2d image
Problem with displaying 2d image
In 2d graphics example I can see only alpha blending effect. How about others?
yo hi,
the tutorials on SDK is good to look what the engine can, BUT I missing details for programming .. this engine is very good .. but only for 3D profi's or people which intensively used (learned) .. I want read tutorials and make a little 3D prog .. sorry .. IRRLICHT is great .. but I missing "real" tutorials......
my 2cents of n00b
the tutorials on SDK is good to look what the engine can, BUT I missing details for programming .. this engine is very good .. but only for 3D profi's or people which intensively used (learned) .. I want read tutorials and make a little 3D prog .. sorry .. IRRLICHT is great .. but I missing "real" tutorials......
my 2cents of n00b
by "real" tutorials, do you mean tutorials on general 3D programming? If so: http://www.gametutorials.com
but the example programs given with the SDK are "real" tutorials, on the subject of how to use IrrLicht.
but the example programs given with the SDK are "real" tutorials, on the subject of how to use IrrLicht.
a screen cap is worth 0x100000 DWORDS
Problem width 2d image
Viewing engine source I understand that other effects works only in 3d mode.
WHY the author of such fine engine implement materials only for 3d. We can use it with 2d.
For example I have an image with black background to draw. I make it transparent (alpha blending), but it still has pixels near black. We can use this code (in directX):
pID3DDevice->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_SRCALPHA);
pID3DDevice->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA);
pID3DDevice->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_ONE);
pID3DDevice->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_ONE);
I think that Irrlicht materials will do the same if we can use them in 2d mode.
You can see this effect in game Hegemonia - Legions of Iron. Look at game menu and to the source image in game dir and you will understand what I mean.
WHY the author of such fine engine implement materials only for 3d. We can use it with 2d.
For example I have an image with black background to draw. I make it transparent (alpha blending), but it still has pixels near black. We can use this code (in directX):
pID3DDevice->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_SRCALPHA);
pID3DDevice->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA);
pID3DDevice->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_ONE);
pID3DDevice->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_ONE);
I think that Irrlicht materials will do the same if we can use them in 2d mode.
You can see this effect in game Hegemonia - Legions of Iron. Look at game menu and to the source image in game dir and you will understand what I mean.