Template:VMT UVtransform: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{lang|{{FULLPAGENAME}}|Template: VMT UV Transform}} | |||
:The default position is <code>"center .5 .5 scale 1 1 rotate 0 translate 0 0"</code>. | <onlyinclude><includeonly>:The default position is <code>"center .5 .5 scale 1 1 rotate 0 translate 0 0"</code>. | ||
:# <code>center</code> defines the point of rotation. Only useful if <code>rotate</code> is being used. | :# <code>center</code> defines the point of rotation. Only useful if <code>rotate</code> is being used. | ||
:# <code>scale</code> fits the texture into the material the given number of times. '<code>2 1</code>' is a 50% scale in the horizontal X axis while the vertical Y axis is still at original scale. | :# <code>scale</code> fits the texture into the material the given number of times. '<code>2 1</code>' is a 50% scale in the horizontal X axis while the vertical Y axis is still at original scale. | ||
Line 7: | Line 7: | ||
:{{note|''All values'' must be included!}} | :{{note|''All values'' must be included!}} | ||
:{{bug|Scaling the texture may cause odd issues where the Texture Lock tool in Hammer will not actually lock the texture in place.}} | :{{bug|Scaling the texture may cause odd issues where the Texture Lock tool in Hammer will not actually lock the texture in place.}} | ||
:{{bug|Rotating textures applied on brushes will rotate around the map origin (confirm: Orangebox engine only?). A fix for this is to change the center position in the VMT to the brush's origin.}} | :{{bug|Rotating textures applied on brushes will rotate around the map origin (confirm: Orangebox engine only?). A fix for this is to change the center position in the VMT to the brush's origin.}}</includeonly></onlyinclude>{{doc}} |
Revision as of 05:25, 10 December 2022
The above documentation is transcluded from Template:VMT UVtransform/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.