-- Apply the tint to the material (Simplified) self.tintColor = lerp([0.5, 0.3, 0.1], [0.1, 0.6, 0.2], Tint)
If you have been treating Forest Pack as merely a static instancing engine, you are only using 10% of its power. are custom code snippets (usually written in a Pascal-like syntax or embedded Python) that allow every single object in your scatter—from thousands of trees to millions of pebbles—to react intelligently to its environment. forest pack effects
-- Get the distance value (0 to 255 from the map) Value = getMapValue(ft_DistanceMap, self.position.x, self.position.y) -- Remap the value to a tint strength (0 = dry, 1 = wet) Tint = Value / 255 -- Apply the tint to the material (Simplified) self