Asteroids Belt procedural generator URP


Script for generating asteroids in a given orbit, orbital motion and collision control, a script for randomizing shapes and materials. Skybox and asteroid shaders and materials, collision dust VFX


by Dmitry Andreev


Price History +

Package Overview

This package is a comprehensive collection of scripts, shaders, and VFX designed to enhance the dynamics and aesthetics of space-themed environments in Unity games. Specifically tailored for the Universal Render Pipeline (URP), it has been meticulously developed and tested exclusively within URP settings, ensuring optimal performance and compatibility.

Scripts

  1. Orbit Generation Script: Utilizes a distribution map to dynamically generate asteroids along orbits with specified radii, creating a realistic and customizable asteroid belt environment.
  2. Orbital Movement & Collision Script: Manages the orbital trajectories of asteroids while handling basic collisions, ensuring smooth and interactive asteroid field simulations.
  3. Material Randomizer Script: Provides a versatile tool for randomizing materials applied to asteroids, adding variety and depth to the visual appearance of each asteroid.

Shaders

  1. Asteroid Shader: A highly flexible shader capable of generating random geometry from a template model and applying a randomized material, offering endless visual variations for asteroids.
  2. Skybox Shader & Material: Comes with a cubic map for space environments, creating immersive and expansive cosmic backdrops.

VFX

  1. Simple Dust Cloud Effect: Activated upon asteroid collisions, this effect simulates a dust cloud, adding a layer of realism to interactions within the asteroid belt.

Customization and Flexibility

Every script and shader in this package is fully customizable through parameters, allowing developers to tailor the effects and behaviors to fit their specific genre or aesthetic needs. Whether creating an arcade space shooter or a more serene space exploration title, this package provides the tools needed to bring your cosmic visions to life.


Contains:

1. 1024Ñ…1024Ñ…24Bpp dds skybox texture

2. 3 c# scripts

3. shaders for asteroid and skybox

4. materials for asteroid and skybox

5. prefabs - asteroid and dust blast vfx

Dependencies

URP and Visual effect graph neded


The package does not contain a 3d models. Use the asteroid material on the default unity sphere model or on your fbx model