Hello
as i am completely new to irrlicht engine i just play arround with the examples. I am able to compile them and enjoy viewing them.
Then i made bigger step : changing models used in the tutorials - worked well.
Then i compressed the sydney texture as jpg and png. the irrlicht engine loads the jpg without any problems, but when trying to load the png the model is only white. No error message.
I converted the texture using MS Paint and ACDSee (dunno if there are differences in the png-format)
Did i make something wrong?
regards,
Borath
cant load png-texture
I have the same problem when using alpha channel in my texture. It seems to work when saving the png not interleaved. Anyway I got another problem when using the material type EMT_TRANSPARENT_ALPHA_CHANNEL : the texture, which should have a smooth border, is too tough (begins to slowly become transluscent, and the becomes totally transparent at once). I don't know if it is because of the texture loading (from png) or not.
Yes, it is a power of 2, and I have found the problem for transparency : I did not configure the MaterialTypeParam properly : it needs to be very low (since its the threshold at which the alpha value is considered to be completely transparent), but not zero because zero is considered the same as 0.5 (don't ask me why ^^). A value of 0.05 gives a correct result.
