Planetside Software Forums

General => Terragen Discussion => Topic started by: jamfull on May 18, 2011, 04:28:15 PM

Title: Adjust saturation colour
Post by: jamfull on May 18, 2011, 04:28:15 PM
I'm looking for a way to adjust the saturation of a "colour image" inside an OBJ's or TGO's shader. Does anyone know the proper way to implement the "Adjust saturation colour" node? I've so far been unsuccessful in using it. Is this node only for adjusting the colors that terragen produces internally?

Thanks,
James
Title: Re: Adjust saturation colour
Post by: jamfull on May 21, 2011, 10:04:04 AM
Got it.

I needed to remove the original Image map from the "Default shader", then make a separate "Image map shader" using the Object UV projection type). Plugging that into the "Adjust saturation colour" node and controlling it with a "constant scalar" I was able to have variable saturation for my leaf (or any other image map).

James
Title: Re: Adjust saturation colour
Post by: Oshyan on May 22, 2011, 02:38:20 PM
Glad you resolved your problem and thanks for posting the solution. Sorry about not replying earlier.

- Oshyan
Title: Re: Adjust saturation colour
Post by: jamfull on May 24, 2011, 07:46:07 AM
You're welcome. No problem.

James
Title: Re: Adjust saturation colour
Post by: Hetzen on May 24, 2011, 04:08:02 PM
Usefull tip-bit. I've wondered about this myself, but always went back to photochop to resolve. Thanks for sharing.
Title: Re: Adjust saturation colour
Post by: Hetzen on May 24, 2011, 04:10:09 PM
Thinking out loud again. You could even modulate that constant input to give you colour variance over a population too. Hrmmm.....
Title: Re: Adjust saturation colour
Post by: jamfull on May 30, 2011, 07:27:25 AM
So I tried this on a new tree today. It doesn't seem to work with objects that have a parts shader. If you place the nodes as indicated, TraceRay errors occur and nothing renders. I can successfully render if I place the nodes outside of the parts shader but all I get is black in place of texture. It doesn't seem to use the object's UV's.

James