Skip to content

feat: add procedural Vertex Color Bake tool - #2

Merged
seto3d merged 1 commit into
seto3d:mainfrom
cs-dev-09:verte-color-bake
Aug 14, 2026
Merged

feat: add procedural Vertex Color Bake tool#2
seto3d merged 1 commit into
seto3d:mainfrom
cs-dev-09:verte-color-bake

Conversation

@cs-dev-09

Copy link
Copy Markdown
Contributor

Description
This adds a new "Vertex Color Bake" tool to the addon, designed specifically for procedurally generating vertex colors (Color 1) for GTA V props. The panel has been integrated into the N-Panel under the Surface group.

Key Features:

  • Detail Stack: Allows artists to procedurally bake and blend multiple layers of environmental wear:
    • Ambient Occlusion (Raytraced)
    • Edge Dirt (Concave edge detection)
    • Floor Grime (Z-up surface spread)
    • Edge Wear (Convex edge detection)
    • Fake Directional Shadows
    • Linear Gradients & Random Noise
  • Performance Optimized: Expensive geometry operations (like AO raycasting and edge-angle detection) are cached on the mesh. Adjusting the UI strength sliders only re-blends the cached data, making the UI incredibly fast and responsive even on dense meshes.
  • Non-Destructive Alpha: The tool cleanly targets RGB while intelligently blending the alpha channel, ensuring existing vertex setups aren't accidentally destroyed.

UI Integration:

  • Registered as an independent module (vertex_bake).
  • Panel sits at the bottom of the "Surface" section, utilizing the existing toolset's UI conventions and icon library.
  • Default slider values have been tuned for instant, usable results on typical GTA V assets.

Adds a new "Vertex Color Bake" panel under the Surface tab for baking procedural weathering directly into vertex colors (Color 1).

* Features instant-baking for Ambient Occlusion, Edge Dirt, Floor Grime, Edge Wear, and Fake Shadows.
* Performance-optimized: heavy math and raycasts are cached, allowing real-time slider adjustments without lag.
* Cleanly integrated as an independent `vertex_bake` module using the addon's existing UI and architecture conventions.
* Default slider values tuned specifically for GTA V props and environments.
@seto3d
seto3d merged commit 472acf1 into seto3d:main Aug 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants