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}} | {{lang|{{FULLPAGENAME}}|Template: VMT UV Transform}} | ||
<onlyinclude><includeonly>:The default position is | <onlyinclude><includeonly>:The default position is {{MdCode|outline|center .5 .5 scale 1 1 rotate 0 translate 0 0}}. | ||
:# <code>center</code> defines the point of rotation. Only useful if | :# <code>center</code> defines the point of rotation. Only useful if {{MdCode|outline-oneclick|rotate}} is being used. | ||
:# <code>scale</code> fits the texture into the material the given number of times. | :# <code>scale</code> fits the texture into the material the given number of times. {{MdCode|outline-oneclick|2 1}} is a 50% scale in the horizontal X axis while the vertical Y axis is still at original scale. | ||
:# <code>rotate</code> rotates the texture ''counter''-clockwise in degrees. Accepts any number, including negatives. | :# <code>rotate</code> rotates the texture ''counter''-clockwise in degrees. Accepts any number, including negatives. | ||
:# <code>translate</code> shifts the texture by the given numbers. | :# <code>translate</code> shifts the texture by the given numbers. {{MdCode|outline-oneclick|.5}} will shift it half-way. 1 will shift it once completely over, which is the same as not moving it at all. | ||
:{{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.}}</includeonly></onlyinclude>{{doc|nolang=1}} | :{{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|nolang=1}} |
Revision as of 05:34, 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.