Texture unit scale not working

Jules Robichaud Gagnon

17-06-2008 19:03:30

We noticed today that the scale parameter into texture unit is not working when the trees are batched.

It is not a big deal considering we can adjust this with the UV coordinates into the modelling tool but I wanted to let you know.

Could that be another problem with vertex shader without pixel shader?

JohnJ

18-06-2008 16:51:07

I think texture transforms are disabled when you use a vertex shader since in that case it becomes the shader's job. I think I can add some code to the autogenerated shader that processes UV scales / offsets when present.