Hello, I have struggled issue while texture is scrolling in custom shader on android devices.
I have noticed, that time is used to scroll texture further and further, time is forwarded to shader with "predefined_uniform" in generated pixel shader. Also it is look like that time - is time since application started, not the same as livetime of a particle.
As a result, after a some time goes up, texture has huge pixel artifacts.
PS:
I have debugged method "shader_->SetConstantBuffer()", and even if this code:
https://gyazo.com/cd4ce187d75270ae07e13b3d5039d9b1 not executed(material is not custom), predefined_uniform is set with time in other way.
Hello, I have struggled issue while texture is scrolling in custom shader on android devices. I have noticed, that time is used to scroll texture further and further, time is forwarded to shader with "predefined_uniform" in generated pixel shader. Also it is look like that time - is time since application started, not the same as livetime of a particle. As a result, after a some time goes up, texture has huge pixel artifacts.
PS: I have debugged method "shader_->SetConstantBuffer()", and even if this code: https://gyazo.com/cd4ce187d75270ae07e13b3d5039d9b1 not executed(material is not custom), predefined_uniform is set with time in other way.