Welcome to
Planetside Software Forums
.
Log in
Sign up
Search Forums
Search
Home
Search
Planetside Software Forums
►
General
►
Terragen Discussion
►
Size of UV map in image shader?
Size of UV map in image shader?
Started by Dune, November 05, 2019, 01:43:59 AM
Previous topic
-
Next topic
Print
Go Down
Pages
1
User actions
Dune
Fluent in Terragen
Posts: 19,850
Location: Netherlands
Logged
Size of UV map in image shader?
November 05, 2019, 01:43:59 AM
What if I have a non-square image map that is used for continuous texturing? If I set UV in the image map, the size jumps to a square 1:1. Will it be distorted, should I resize? Or is that normal behavior.... or a small bug?
In attached image I manually resized, btw.
Gallery
Matt
Planetside Staff
Posts: 4,633
I'm the crazy one
Location: Planetside HQ, Los Angeles.
Logged
Re: Size of UV map in image shader?
#1
November 05, 2019, 02:30:48 AM
It depends on what your object's UV coordinates are. If your UV coordinates are scaled squarely but you want to texture it with a non-square image, then your shader should do the scaling. But if your UV coordinates are already adjusted to map a square image in a non-square way, then your shader should be 1,1.
Just because milk is white doesn't mean that clouds are made of milk.
Dune
Fluent in Terragen
Posts: 19,850
Location: Netherlands
Logged
Re: Size of UV map in image shader?
#2
November 05, 2019, 03:39:32 AM
Thanks for your speedy reply. My mapping occurs on a square basis, but goes outside the UV boundaries, so I figure from your explanation that I need to adjust the scaling (as I did above), and maybe even set to repeat. I will test it, to be sure.
Gallery
Print
Go Up
Pages
1
User actions
Planetside Software Forums
►
General
►
Terragen Discussion
►
Size of UV map in image shader?
User actions
Print