EMT_PARALLAX_MAP_SOLID setTextureScale Issue
-
- Posts: 2
- Joined: Mon Jul 31, 2023 8:23 pm
EMT_PARALLAX_MAP_SOLID setTextureScale Issue
Can only seem to get setTextureScale to work when the material type is EMT_SOLID, I have followed other forum posts which advise ETC_REPEAT on both TextureWrapU/TextureWrapV. If I change material type to EMT_PARALLAX_MAP_SOLID, I invoke setTextureScale, it does not scale the texture as per EMT_SOLID (have also tried other material types for diffuse/normal - still doesnt work). Why is this?
Re: EMT_PARALLAX_MAP_SOLID setTextureScale Issue
As far as I can read that shader it ignores texture matrices. Nothing really you can do except rewriting the shader.
Reason other material works is that it's using fixed function pipeline which supports that.
Reason other material works is that it's using fixed function pipeline which supports that.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 2
- Joined: Mon Jul 31, 2023 8:23 pm
Re: EMT_PARALLAX_MAP_SOLID setTextureScale Issue
Ok, thank you for your response.