How to Randomly Adjust Hue of Objects in Population

Started by bcgreen24, October 23, 2019, 11:29:20 PM

Previous topic - Next topic

bcgreen24

How can I randomly adjust the hue of objects in a population (actually, parts of objects-- say, the leaves of a tree)?  For example, how can I randomly change the hue of leaves on a tree so the hues range from red to yellow to orange, etc.?

Thanks!
Bryan

WAS

You can use power fractal shaders to adjust the colours in many ways.

If you wanted the leaves to be green, but retain some of the UV texture data, you can load the texture as  a Image Map Shader, than use the Convert Colour to Grayscale. From here, you can use a Add Colour shader and a PF to add new colour definition to the grayscale image map.

I'll post an example in a moment. I just realize I have no vegetation objects (again) due to various issues I had migrating to a new PC with a Seagate 2tb (Don't trust Seagate with valuable data, seriously)

Matt

Just because milk is white doesn't mean that clouds are made of milk.

bcgreen24

Quote from: Matt on October 24, 2019, 12:07:50 AMKevin Kipper has written an article in our wiki called "Population Colour Tinting Techniques"

https://planetside.co.uk/wiki/index.php?title=Population_Colour_Tinting_Techniques


Awesome, thanks! I'll check this out...

Bryan

WAS

Here's an example of procedurally recolouring a texture image, in this case the Japanese Walnut from Xfrog: http://xfrog.com/product/JA08.html (note, this [TGO] object is old, and it's network may appear unfamiliar)

bcgreen24

Quote from: WAS on October 24, 2019, 12:57:48 AMHere's an example of procedurally recolouring a texture image, in this case the Japanese Walnut from Xfrog: http://xfrog.com/product/JA08.html (note, this [TGO] object is old, and it's network may appear unfamiliar)
Thanks for this!