[Solved] Realtime 3D Terrain Splat Mapping

Hello again! Hopefully someone can give me some insight.

I added splat mapping to my terrain editor, but I’m not sure if the way I’m painting the blendmap is best way.

Currently I am “projecting” the shape and color of the brush onto an FBO for each chunk that the mouse is over.

I was thinking about using a pixel map and updating the texture using glTextSubImage2d but I figured that would be slow.

Also I heard that I could use PBOs

I hope I was clear

What would you do?

Solved.

Yeah I tried other methods I could think of. But I just ended up projecting onto a FBO. This made it easier to have really customizable brushes.

Anything wrong with projecting to the FBO? Sounds reasonable…

There’s nothing wrong with it. Just wondering if that’s how you would normally do it.