Vary the forest per instance #87

Closed
opened 2026-10-20 08:49:31 +00:00 by sermuns · 0 comments
Owner

A TreeBatch is one mesh, one albedo and one texture, plus a transform per
tree. Every CommonTree_1 on campus is therefore the same green at the same scale,
even where the bake has jittered position and rotation.

The repetition is obvious from the air and from a path lined with the same model
repeated twenty times.

Add a per-instance tint (and size variation if the transform does not already
jitter it) as one more instance vertex attribute, multiplying the albedo in the
fragment. PART_BODY already demonstrates the pattern: color per instance, one
draw per mesh. Keep the tint subtle and in the same hue family; the point is to
break the clone stamp, not to make a rainbow.

Related: #18 and #46 both add more vegetation the same path would cover, and
#89 is the same trick at ground level.

A `TreeBatch` is one mesh, one albedo and one texture, plus a transform per tree. Every CommonTree_1 on campus is therefore the same green at the same scale, even where the bake has jittered position and rotation. The repetition is obvious from the air and from a path lined with the same model repeated twenty times. Add a per-instance tint (and size variation if the transform does not already jitter it) as one more instance vertex attribute, multiplying the albedo in the fragment. `PART_BODY` already demonstrates the pattern: color per instance, one draw per mesh. Keep the tint subtle and in the same hue family; the point is to break the clone stamp, not to make a rainbow. Related: #18 and #46 both add more vegetation the same path would cover, and #89 is the same trick at ground level.
sermuns added this to the Rendering milestone 2026-10-20 08:49:31 +00:00
Sign in to join this conversation.
No description provided.