how to set MaterialTypeParm

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Avalanche
Posts: 18
Joined: Tue Sep 05, 2006 7:21 am

how to set MaterialTypeParm

Post by Avalanche »

im trying to using alpha channel on my terrain.
i got my alpha channel image, but the edges are jagged, so i figure i need to set MaterialTypeParm to something low, but how to do it?

also i cant get second texture to load in directx, only in openGL
in directx, my terrain texture is weird black and white, which is nothing close to grey scale version of my terrain texture

edit:
terrain->getMaterial(0).MaterialTypeParam=0.001f;
does nothing for me

edit2:
actually this works in openGL fully, but why not direct x :evil:
Post Reply