I am on to modify an older shader from the code snippets to use it with the new irrlicht.
Acctually i am done so far but now i have a probem :
In the old shader the TextureWarp was called like this
Code: Select all
material.TextureLayer[0].TextureWrap = video::ETC_CLAMP;
TextureWrapU(ETC_REPEAT)
TextureWrapV(ETC_REPEAT)
Code: Select all
class SMaterialLayer
{
public:
//! Default constructor
SMaterialLayer()
: Texture(0),
TextureWrapU(ETC_REPEAT),
TextureWrapV(ETC_REPEAT),
BilinearFilter(true),
TrilinearFilter(false),
AnisotropicFilter(0),
LODBias(0),
TextureMatrix(0)
{}
...
Luis