Editing Darkplaces material system/Stages
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 94: | Line 94: | ||
:Stretches the texture coordinates with the given function. Stretching is defined as stretching the texture coordinate away from the center of the polygon and then compressing it towards the center of the polygon. (see Key Concepts for waveform parameter definitions). | :Stretches the texture coordinates with the given function. Stretching is defined as stretching the texture coordinate away from the center of the polygon and then compressing it towards the center of the polygon. (see Key Concepts for waveform parameter definitions). | ||
:'''Example''': | :'''Example''': | ||
− | + | tcMod stretch sin 1.2 0.8 0 1.5 | |
− | + | ||
=== tcMod transform <m00> <m01> <m10> <m11> <t0> <t1> === | === tcMod transform <m00> <m01> <m10> <m11> <t0> <t1> === | ||
Line 101: | Line 100: | ||
:S = s * m00 + t * m10 + t0 | :S = s * m00 + t * m10 + t0 | ||
:T = s * m01 + t * m11 + t1 | :T = s * m01 + t * m11 + t1 | ||
− | :This is for use by programmers. | + | :This is for use by programmers. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
=== tcMod turb <base> <amplitude> <phase> <freq> === | === tcMod turb <base> <amplitude> <phase> <freq> === |