RNG Blood is a procedural blood system for the Universal Render Pipeline. One line of code per hit gives you drops in flight, splats on floors and walls, runs that drip down walls, puddles that merge, pools that grow under bodies, bloody footprints and blood that dries over time. All blood in the scene is drawn on the GPU in two draw calls, without textures.What it does- Drops fly on a ballistic arc computed in the vertex shader and stretch with speed.- Landing drops leave splats, rays, streaks or heavy blots, stretched by the angle they hit at.- Drops that hit a wall leave runs that drip down over the next seconds.- Fresh splats that land close together merge into one growing puddle.- A body leaves a pool that grows under it and follows it while it exists.- Blood dries: glossy red turns dark, matte and brown, then fades out.- Walkers that step into a wet pool leave fading bloody footprints.- Smears: a body dragged through blood leaves a streaked trail, a hand leaves finger strokes on a wall, a body knocked against a wall smears it.- Blood Supply (new in 1.2): a body holds a set amount of blood. Its smears get narrower, streakier and drier as it runs out, and an empty body leaves a dark, dry trail. Connects to your health system.- Prints and washing (new in 1.2): hand, knee, hoof and tyre tread prints, and water that washes blood off floors, walls and bodies.- Weapons and bodies (new in 1.2): a blade coated to the depth it went in, a splat where a blunt weapon hit, and a soaked patch where a body lay in a pool.- Liquid floor: pools spread, stop where they get thin and merge into one puddle; runs from the walls drain into it. Runs that reach the floor end in a puddle at the foot of the wall.- Grooves: cut drains, gutters or letters into the liquid floor with one mask texture. Blood runs into them, flows along them and fills them, without being created or lost. Optional: without the call the floor behaves exactly as before.- Characters get bloody where they are hit: the Blood Wounds component leaves up to 32 bleeding wounds per character on skinned or plain meshes, and they stay on the skin while the body moves.- Three quality levels, from projected stains with wet bevelled edges to flat stains that need no depth texture, and a Massive mode that paints floor splats into one texture, so thousands cost the same as one.- Stains are projected onto the depth buffer, so they wrap over floors, ramps and walls without decal projectors. Stains on glass are drawn on the pane.- Seven hit presets: bullet, close bullet, shotgun, headshot, blunt, blade and explosion. Every value is tunable.- Any colour, a censored colour mode and an off switch for a gore option.- A public hit event for add-ons such as dismemberment, sounds or hit marks.Easy to set up- Call Blood.Spawn(hit, direction) from your weapon code and you are done.- Blood Emitter component for UnityEvents, Animation Events and Timeline, no code needed.- A Setup window checks your URP settings and fixes them with one click.- Let an AI add it: the RNG Blood window opens once after import, and Copy AI Prompt copies a ready prompt with your project path and the guide for AI coding agents. Paste it into Claude Code, Codex, Cursor or any agent and it wires the blood into your weapons and characters. A Claude Code skill is one more click.- A live settings panel: tune every value with sliders while the game runs and save the result as a settings asset.- Four demo scenes: a cinematic Crime Scene with old dried blood and a fresh impact, a Hit Demo with a crash test dummy that reacts to every hit, six blood colours and the settings panel, an Arena: a top-down brawler with five weapons, waves of dummies, ragdolls and body dragging, and a Showcase where the RNG BLOOD logo cut into concrete fills with blood after a grenade or a ceiling fan. Everything in the screenshots and the trailer is included in the package.- Every setting has a tooltip. Full documentation is included.PerformanceTwo draw calls for all blood, flight, drying and fading run on the GPU, no garbage collection at runtime. Measured on a GeForce RTX 5060 at 3840 x 2160: 0.1 ms when idle, 0.7 ms at the start of a fight, 2.9 ms with about 1000 stains on screen from a top-down camera. CPU: about 0.2 ms per hit. Limits for drops, splats, pools and footprints are settings, so you can trade amount for speed.Requirements and limits- Unity 2022.3 or newer with the Universal Render Pipeline (URP 14 or newer). Tested on Unity 2022.3, 6000.0, 6000.3 and 6000.6 with DirectX 11, DirectX 12, Vulkan and OpenGL Core on Windows.- High and Medium quality need Depth Texture on in your URP asset; the Setup window turns it on. Low quality needs no Depth Texture.- The Built-in Render Pipeline and HDRP are not supported.- VR single pass instanced rendering is not supported in this version.- The Low quality level and Massive mode are made for mobile and big battles. Measured numbers on mobile devices are not published yet.- No dependencies besides URP. No third-party code or assets.






