Hi!
I’m having some issues with my landscape material, where I’m attempting to use a combined texture for multiple landscape layers, instead of having each layer use its own sampler.
My thinking was that I could use the LandscapeLayerCoordinates to shift the texture along the UV, and in-editor, it seems to be working. This is how I have it set up:
Inside the material editor, and in the paint rollout, everything seems to be fine. Each layer is mapped to its subtexture in the larger one, and they come out as they should in the preview.
However, when painted onto a landscape, it does not apply the UV offsets, and just paints the raw texture (which looks like this) onto the landscape.
The final result is a complete mess, and I’m not entirely sure what I’m doing wrong. I’ve attempted to combine the landscape coordinates with a normal texture coordinate, but I never really understood what I was doing there
If anyone has a clue as to what is going awry, or what I should do instead of this, I’d greatly appreciate any help
It should be noted that I’m unable to give each layer its own texture, as that exceeds the 16 sampler limit on Linux, which is one of my target platforms.