Added fxFoliageReplicator system into [HEAD]
by Melv May · in Torque Game Engine · 11/24/2002 (5:37 am) · 2 replies
I've just added the fxFoliageReplicator update into the HEAD codebase.
I will continue to add in the others.
- Melv.
I will continue to add in the others.
- Melv.
About the author
#2
Yes, it would be very easy indeed to modify it.
On line 1587 ...
- Melv.
11/24/2002 (6:31 am)
Ted,Yes, it would be very easy indeed to modify it.
On line 1587 ...
glColor4f(Luminance,Luminance,Luminance, ItemAlpha);You could modulate your colour components with the 'Luminance' variable such as ...
ColorF SeasonColor(0.4f, 0.2f, 0.0f); glColor4f(SeasonColor.red*Luminance,SeasonColor.green*Luminance,SeasonColor.blue*Luminance, ItemAlpha);Changing the SeasonColor would change the foliage colour whilst still allowing the varying lighting to still work.
- Melv.
Torque 3D Owner Ted Southard
Is it possible to do texture switching on it to simulate the passing of seasons, such as from summer to winter where the leaves turn colors?
Was wondering because I wanted to integrate seasons into one of the projects I'm working on and this seemed like the best way. Thanks!