Weird result when setting texture offset

Setting texture offset has no effect:

You can check the demo above, the most weird part here is when you open the inspector and focus on this material, the texture “jumps”.

1 Like

If I open the tab, but don’t switch to it, then after a second, when I switch to the tab, the offset is visible.
if I open and switch to the tab, then the offset is never seen.

It looks like something is cached (shader?) when frame is renderer.
Do you have an idea @Evgeni_Popov ?

We forgot to test for the emissive texture in PBRBaseMaterial.hasTexture.

This PR will fix the problem:

5 Likes