Planetside Software Forums

General => Terragen Discussion => Topic started by: fferro on March 14, 2009, 02:18:04 PM

Title: Image as a texture over part of the heightfield - How to?
Post by: fferro on March 14, 2009, 02:18:04 PM
Hi,

I Get a scene in TG2 (a DEM heightfield) with a virtual camera aligned with this image.

(http://img440.imageshack.us/img440/3150/ask01.th.jpg) (http://img440.imageshack.us/my.php?image=ask01.jpg)

Now I want to see the picture as a texture, but only over the terrain very close to that point of view.
I need to see the heightfield over the whole ground plane, and the terrain outside the red area painted with another surface layer.
The mask is easy to create, just with a painted shader. But I don't know where do I have to connect it and how to blend the image map shader.
Thanks in advance
Fernando