This shows you the differences between two versions of the page.
arma3:terrain:gdt-mco-texture-uvtransform [2019-01-28 19:24] snakeman created initial page. |
arma3:terrain:gdt-mco-texture-uvtransform [2019-11-10 20:19] (current) snakeman added the values. |
||
---|---|---|---|
Line 5: | Line 5: | ||
Ground Detail Texture (GDT) and satellite layers RVMAT uvTransform to increase or decrease the tiling size of GDT's and MCO. | Ground Detail Texture (GDT) and satellite layers RVMAT uvTransform to increase or decrease the tiling size of GDT's and MCO. | ||
- | 2019-01-28 | + | **2019-01-28** |
Snake Man: ok, well can you sum it up like what does uvtransform mean for GDT, why would I use it?\\ | Snake Man: ok, well can you sum it up like what does uvtransform mean for GDT, why would I use it?\\ | ||
Line 11: | Line 11: | ||
Snake Man: does GDT uvtransform size increase along with terrain size, like 2km its small and sharp while on 204km its big and blurry?\\ | Snake Man: does GDT uvtransform size increase along with terrain size, like 2km its small and sharp while on 204km its big and blurry?\\ | ||
Opteryx: yep | Opteryx: yep | ||
+ | |||
+ | Snake Man: this is first PMC Mongolia 409km layer rvmat: | ||
+ | <code cpp> | ||
+ | class TexGen0 | ||
+ | { | ||
+ | uvSource = "tex"; | ||
+ | class uvTransform | ||
+ | { | ||
+ | aside[] = {1,0,0}; | ||
+ | up[] = {0,1,0}; | ||
+ | </code> | ||
+ | so you want the value 1 be changed to 40 on all of the _data_layers rvmat's?\\ | ||
+ | Opteryx: yeah, but for texgen1 and texgen2, not sure what the idea value would be ideal for texgen0 which is the mco\\ | ||
+ | Opteryx: guess you're gonna have to test a few different values and see what works the best | ||
+ | |||
+ | At the end PMC Mongolia 409km terrain uses value 50: | ||
+ | <code cpp> | ||
+ | class TexGen1 | ||
+ | { | ||
+ | uvSource = "tex"; | ||
+ | class uvTransform | ||
+ | { | ||
+ | aside[] = {50,0,0}; | ||
+ | up[] = {0,50,0}; | ||
+ | dir[] = {0,0,10}; | ||
+ | pos[] = {0,0,0}; | ||
+ | }; | ||
+ | }; | ||
+ | class TexGen2 | ||
+ | { | ||
+ | uvSource = "tex"; | ||
+ | class uvTransform | ||
+ | { | ||
+ | aside[] = {50,0,0}; | ||
+ | up[] = {0,50,0}; | ||
+ | dir[] = {0,0,10}; | ||
+ | pos[] = {0,0,0}; | ||
+ | }; | ||
+ | }; | ||
+ | </code> |