- Apr 27, 2008
- 543
- 70
I'm currently figeting with proxies and something keeps ruining my efforts :
Whenwhever I want to use $basetexturetransform, be it as material property or from proxy scaling or rotating never works the way I expect them to do.
Let's say I wan't to rotate my texture from x°
I write something like this
"$basetexturetransform" "center 0.5 0.5 scale 1 1 rotate x translate 0 0"
But the texture never seems to rotate along its own center, but a virtual center somewhere on the map. If I modify the center values (said to be used between 0 and 1) I modify my result as show in game and in hammer, but still, the texture is rotated but not along it's own center. Same thing with scale by the way.
One could say, then "if you absolutely want it rotated, just adjust the translation in hammer", yes for a static texture, that is. But would it be for the skybox or a rotating texture, I must have control over the damned thing.
Any idea ?
Whenwhever I want to use $basetexturetransform, be it as material property or from proxy scaling or rotating never works the way I expect them to do.
Let's say I wan't to rotate my texture from x°
I write something like this
"$basetexturetransform" "center 0.5 0.5 scale 1 1 rotate x translate 0 0"
But the texture never seems to rotate along its own center, but a virtual center somewhere on the map. If I modify the center values (said to be used between 0 and 1) I modify my result as show in game and in hammer, but still, the texture is rotated but not along it's own center. Same thing with scale by the way.
One could say, then "if you absolutely want it rotated, just adjust the translation in hammer", yes for a static texture, that is. But would it be for the skybox or a rotating texture, I must have control over the damned thing.
Any idea ?