Repository navigation
Realistic garden: connected leaf shoots and non-repeating bark - #15
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 190fdf9484
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const uOffset=rng()*13,vOffset=rng()*17,metersPerTile=1.9+rng()*.65,phase=rng()*100; | ||
| // Each limb receives a different patch, at approximately world-size grain scale. | ||
| // Fine twigs sample a small part of the same map instead of wrapping a trunk texture. | ||
| const uSpan=TAU*startRadius/metersPerTile; |
There was a problem hiding this comment.
Close the bark texture at the branch seam
Because the bark textures use RepeatWrapping, the duplicated vertices at j=0 and j=radial must differ by a whole texture period to sample the same texel. Here uSpan is normally fractional (the main trunk is roughly 0.7–1.0), so although their positions and normals are joined, the diffuse, normal, and roughness maps jump at every branch seam, producing a conspicuous longitudinal stripe. Preserve the desired metre-scale mapping while explicitly making the texture continuous across the circumference.
Useful? React with 👍 / 👎.
User-requested refinement: remove anime/ink themes; replace scattered leaf centres with continuous terminal shoots, instanced petioles and basal leaf pivots; normalize the alpha stem; zero wind displacement at attachments; replace periodic trunk rings and excessive bark tiling with smooth seeded shape and independent metre-scale patches. Preserve seasons, camera controls and all archive routes. Cloud unit tests and desktop/mobile screenshots will be reviewed before publishing.