Hi all, wonder what im doing wrong here but it seems my uvOffset/uvScale params from a texture sampler im using in this material plugin is not coming across in the shader even though im using vDiffuseUV+uvOffset when sampling the texture. do i need to set these as vertex attributes?
vDiffuseUV
and uvOffset
are associated to the regular diffuse texture of the material. If you want to reuse these values in your code, you have to set uScale/vScale/vOffset on the diffuse material: