Terrain rendering - basic texture blending

Started by
0 comments, last by Waaayoff 13 years, 7 months ago
Hello,

I am rendering a terrain where each polygon may have a different texture. However, it currently presents sharp divides between polygons of different textures. I am currently quite clueless about how to achieve smooth transitions between these polygons. I've heard that this could be done using pixel shaders, however I have never used pixel shaders before.

Btw the API I use is OpenGL.

Thanks for any tips or reference material.
Advertisement
This talks about how you can create procedural textures from a height map and blend them together. For example you can have high vertices have an ice exture and low vertices have a sand texture..

The blending code can be tweaked to work however you please though..
"Spending your life waiting for the messiah to come save the world is like waiting around for the straight piece to come in Tetris...even if it comes, by that time you've accumulated a mountain of shit so high that you're fucked no matter what you do. "

This topic is closed to new replies.

Advertisement