Planetside Software Forums

Support => Terragen Support => Topic started by: 3DSFX on May 09, 2010, 02:35:24 PM

Title: Texture Mapping
Post by: 3DSFX on May 09, 2010, 02:35:24 PM
Hello,
Can someoen tell me what I'm doing wrong here to try and texture map rocks with a .jpg image of a rock surface?  Here is the situation:
The ground is sand.  I have rocks made with the fake rock shader sitting on top of it.  I want the texture map jpg to map onto the rocks but not the sand.  Trying to figure it out logically I created a child surface layer under the rock shader.  Connected under the surface layer I created another child layer Image Map Shader.  It seems to do nothing at all to the rocks.  I've tried repositioning it, scaling it but it still seems to have no effect so I'm figuring I somehow built it wrong. :-[
I've attached a shot of how I built it + a shot of the nodes.

Thanks!
3DSFX
Title: Re: Texture Mapping
Post by: cyphyr on May 09, 2010, 03:08:48 PM
In general I would put the fake stone shader after the base layer as the base layer will always override all colour info above it. (there are exceptions!)
One solution will be to add a surface layer below your base layer, untick the "Use colour" and add your stone shaders to the child input.
Should work:)
Richard
Title: Re: Texture Mapping
Post by: 3DSFX on May 09, 2010, 04:26:29 PM
Ugg I still don't seem to be getting it right!

3DSFX
Title: Re: Texture Mapping
Post by: Kevin F on May 10, 2010, 03:27:07 AM
here's a quick and dirty answer, but in general using and image map over rocks has too many problems, because the image pattern repeats over the whole scene due to the projection method. It depends on how you are projecting the map and the scales involved, but try this out. just exchange the image map I've used for one of your own.
Title: Re: Texture Mapping
Post by: Dune on May 11, 2010, 01:57:03 AM
Put some one color power fractals between stones and child input... for overall variation.
Title: Re: Texture Mapping
Post by: 3DSFX on May 11, 2010, 07:50:11 AM
Ok.  Thank you I'll try it.
I never really did get it to look right.   :(

3DSFX