Page 1 of 1

EMT_PARALLAX_MAP_SOLID setTextureScale Issue

Posted: Mon Jul 31, 2023 8:28 pm
by tombfan1996
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

Posted: Mon Jul 31, 2023 9:18 pm
by CuteAlien
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.

Re: EMT_PARALLAX_MAP_SOLID setTextureScale Issue

Posted: Tue Aug 01, 2023 6:59 am
by tombfan1996
Ok, thank you for your response.