Author Topic: Texture Mapping  (Read 2889 times)

Offline 3DSFX

  • Member
  • *
  • Posts: 19
Texture Mapping
« on: May 09, 2010, 06: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

Offline cyphyr

  • Member
  • *
  • Posts: 4032
    • richardfraser
Re: Texture Mapping
« Reply #1 on: May 09, 2010, 07: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
www.richardfraser.co.uk
https://www.facebook.com/RichardFraserVFX/
/|\

i7 5930K @3.5Ghz, 32Gb (TG4 benchmark 13.44)
i7 980 @3.75Ghz, 16Gb (TG4 benchmark 18:40)

Offline 3DSFX

  • Member
  • *
  • Posts: 19
Re: Texture Mapping
« Reply #2 on: May 09, 2010, 08:26:29 PM »
Ugg I still don't seem to be getting it right!

3DSFX
« Last Edit: May 09, 2010, 09:22:14 PM by 3DSFX »

Offline Kevin F

  • Member
  • *
  • Posts: 1030
Re: Texture Mapping
« Reply #3 on: May 10, 2010, 07: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.
« Last Edit: May 10, 2010, 07:29:19 AM by Kevin F »

Offline Dune

  • Member
  • *
  • Posts: 15128
    • www.ulco-art.nl
Re: Texture Mapping
« Reply #4 on: May 11, 2010, 05:57:03 AM »
Put some one color power fractals between stones and child input... for overall variation.

Offline 3DSFX

  • Member
  • *
  • Posts: 19
Re: Texture Mapping
« Reply #5 on: May 11, 2010, 11:50:11 AM »
Ok.  Thank you I'll try it.
I never really did get it to look right.   :(

3DSFX

 

anything