Terrain Texture Editing

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Linaxys
Posts: 47
Joined: Tue Feb 24, 2009 10:46 pm

Terrain Texture Editing

Post by Linaxys »

Hello,
Now I have my tiled terrain zone system.

I would like to know the possibilities of texture editing on them, but I must not use shaders that requires a newer graphics card like GLSL or HLSL.

Do I have to edit the texture's pixels by getting it's pixels pointer ?
Or is there another easy solution ?

Thanks.
Katsankat
Posts: 178
Joined: Sun Mar 12, 2006 4:15 am
Contact:

Post by Katsankat »

Yes, no.
This technique is called texture splatting or texture blending. Done in realtime you can come up to the "megatexture" technique.
Look at this article http://www.flipcode.com/archives/Terrai ... tion.shtml
;) Advice, practice outside irrlicht. When it works, grab() lock() image and access pixels to set them dirty.
Post Reply