Mixing Textures

So we have also been doing some things with texture blending on the GPU. First we made it so all texture was the same on same height, and in between they would blend, and it looked ok. But then we thought it might look better with a different approach, we had already thought about using some noise function to generate a third texture and then blend the three of them together, but then it would also look weird, even it the noise texture was tileable it would be looking kind of repetitive with same pattern.

Instead we use the normal to calculate the slope of the terrain, and depending on the value of the slope, we can either blend the texture, or change it to another.

Screenshot from 2014-02-10 01:52:41
No blending here, just texture depending on slope. Looks like snow, or maybe something else?
Screenshot from 2014-02-10 02:34:56
White part is texture and black is blending area.
Screenshot from 2014-02-10 02:36:32
What do you get if you mix grass and snow…



    Leave a Reply

    Your email address will not be published. Required fields are marked *