Planetside Software Forums

General => Terragen Discussion => Topic started by: JasonA on December 07, 2011, 05:30:36 PM

Title: default shader, stop texture repeating
Post by: JasonA on December 07, 2011, 05:30:36 PM
Hi all,

Im using a default shader in a larger shader network.  Im projecting an image using a camera for projection coordinates.  But what Im finding is that my projection is repeating outside the camera's view.  The default shader has no option for repeat so I dont know how to stop this.  Is there a hidden way under the hood to stop a texture from repeating when projecting it out of a camera?

Cheers,
Jason
Title: Re: default shader, stop texture repeating
Post by: TheBadger on December 07, 2011, 05:48:02 PM
Hello Jason,

Its sounds like an interesting problem because I have never seen a projection repeat under any projection method unless one or all of the flip, repeat boxes are checked. Is it possible that your network is very large and you have a redundant node, one checked on one checked off? If its not a simple mistake I would also like info on this.
Title: Re: default shader, stop texture repeating
Post by: Dune on December 08, 2011, 03:39:04 AM
You'd better use an image map shader, or blend the projection by a simple shape, or whatever.
Title: Re: default shader, stop texture repeating
Post by: Oshyan on December 08, 2011, 05:48:23 PM
If you want to maintain use of the Default Shader for other reasons, just use an Image Map Shader as the Color Shader input for the Default Shader.

- Oshyan
Title: Re: default shader, stop texture repeating
Post by: JasonA on December 09, 2011, 01:08:54 PM
Thanks Oshyan that worked a charm ;) 

cheers,