Started by WAS, November 07, 2018, 12:48:32 am
Quote from: Matt on November 07, 2018, 05:58:35 amThe scale function needs to have a constant value. It scales the texture space, so if you have variations in the scale it will cause warping. It is a convenience feature for globally changing the scale of many shaders at the same time, but it needs to be used carefully.
Quote from: Matt on November 07, 2018, 04:54:04 pmNaming these features is always a struggle for me, but I see what you mean.Despite what I wrote, technically there are ways to vary the scale function in practical ways, but it's difficult to set up. For example, if you have a function (it could be an image map) that has areas of constant value, each area could have a different value as long as you use a mask to hide the places where the value changes.
Quote from: Dune on November 08, 2018, 01:04:46 amI've always struggled with the scale function, but I don't think some stretched stones are that bad, as along as they don't stretch unnaturally. In nature one finds flintlike stones as well.
Quote from: Matt on November 09, 2018, 09:55:35 amHowever, you can avoid this by transforming the whole setup to where the camera is.