Texture.wAng Ignored on MixMaterial

Unless I’m missing something, it appears that the w/v/uAng properties are completely ignored on the diffuseTextures of a MixMaterial instance.

Changing the value on L23 should rotate the orientation of the texture applied to the mesh, as it does for any other materials’ textures, but the orientation is always the same regardless of the value.

Changing vAng and uAng don’t have any effect either.

Is this a known (undocumented) limitation of the MixMaterial or a bug?

Thanks!

I think it’s a limitation of the material, but let’s ask @julien-moreau who is the creator of the material.

Hey @zimmed

Popov is right, only scale is sent to the material Babylon.js/packages/dev/materials/src/mix/mixMaterial.ts at master · BabylonJS/Babylon.js · GitHub

@Evgeni_Popov our master of shading, did you plan to add a cool Terrain material like these we can find on Unity and Unreal?

It’s not planned, time is a finite resource unfortunately :slight_smile: