
Greeble Generator is a plugin that automatically adds detailed, scattered elements to your 3D scenes, enhancing the visual richness of your projects with minimal manual effort.Greeble Generator is a Unity plugin that automates the process of adding intricate, scattered details—known as greebles—to your 3D scenes. It operates in two layers:First Layer: This layer populates your target mesh surfaces with decorative elements. It uses custom prefabs you provide, or, if none are assigned, it falls back to basic primitives (Cube, Cylinder, Sphere, Capsule). You can control the scale, rotation (random or snapped to cardinal angles), and placement (with collision avoidance) of these details.Second Layer (Optional): This layer adds additional detail on top of each First Layer element based on a configurable spawn chance, giving you the flexibility to decide how many First Layer objects receive extra decoration. It also offers independent scaling, rotation, and positional adjustments relative to the parent greeble.The package even includes a preset pack with 5 different styles—each containing 9 greeble pieces—to help quickly achieve a unique visual aesthetic. By streamlining the placement of complex details, Greeble Generator saves time and enhances the overall richness and realism of your projects.Two-Layer Detail System:Generate intricate details in two customizable layers (First Layer and optional Second Layer) for enhanced scene complexity.Automated Placement:Uses barycentric coordinates to randomly position greebles on target mesh surfaces.Custom Prefab Support & Fallback:Supports user-provided custom prefabs for both layers. If no First Layer prefab is supplied, it automatically falls back to basic primitives (Cube, Cylinder, Sphere, Capsule).Collision Avoidance:Prevents overlapping First Layer greebles using an approximate bounding sphere check with configurable placement attempts.Advanced Rotation & Scaling Options:Offers fully random rotation within a defined range or snapping to cardinal angles (0°, 90°, 180°, 360°), along with customizable scale and offset parameters.Spawn Chance for Second Layer:Allows you to control the probability (0–100%) that a Second Layer object is added on top of a First Layer greeble.Custom Editor Integration:Provides an intuitive, grouped Inspector with conditional field disabling for a streamlined setup process.Preset Pack Included:Comes with a pack of 5 different style presets (9 pieces each) to quickly achieve unique aesthetics.Organized Codebase:All scripts are wrapped in a custom namespace for better organization and to meet Asset Store guidelines.