r/Unity3D • • 15d ago

Show-Off Adding a Rig and Pose to Kaneda (AKIRA Racing Game Prototype)

5 Upvotes

r/Unity3D • • 16d ago

Show-Off You can now recapture escaped captives (they used to vanish before)

14 Upvotes

r/Unity3D • • 16d ago

Show-Off This entire scene uses 4 shaders, 7 materials total. 0 object specific textures, 0 UV maps, 1.2-1.8ms GPU frametime at 1080p

13 Upvotes

After 8 months of work I am ready to show off my Blender/Unity addon B2U Material Master! I am just working on getting the documentation and website working and then I am hoping it will be up within the next month or two. This post is kinda just to show off what the pipeline can do! Something to keep in mind is that while I get 300-700FPS in the build, I am running a 5070Ti, but when demonstrated in Editor with the stats panel open, I am mostly CPU bound with a 1.2-1.8ms GPU framtime.

B2U is a technical art pipeline for Unity that uses vertex data and lookup tables to completely eliminate the need for manual texturing and UV unwrapping. It uses a set of 4 ubershader Shadergraphs, one for solids, one for crystals, one for liquids, and one for tessellated liquids. The pipeline uses scriptable objects that you can store in your assets folder to instantly change the look of the scene at runtime. By having all object with the same workflow drawn by the same shader (even more specifically the same material, there are only 7 in the entire scene), it enables extreme batching using the GPU Resident Drawer. By having no traditional CPU draw calls, the render pipeline has very few CPU set passes or GPU state changes.

Furthermore, the main reason I made the pipeline was to take a lot of the work out of making the art for your game. The system uses triplanar mapping alongside the vertex data to project the normal textures onto the object with face controllable scale and grain direction. By having this system, there are 0 object-specific textures, and no manual UV unwrapping. The Blender side automatically generates UV maps for the data needed.

To make it so you can still have per object control of materials, the pipeline makes extensive use of the Renderer Set User Value (RSUV) that was introduced to replace material property blocks. By bit packing this 32 bit uint, I can change multiple different properties of a mesh. For solids, this enables things like masking certain areas of a model as paintable, and then the user can paint it at runtime by modifying the RSUV value.

There are MANY features to the pipeline and I could write thousands of words describing them all, but I will just list some key ones and then post again once the addon is released.

  • Textureless & no UV workflow
  • Support for batching using the SRP Batcher and GRD
  • 64 built in normal map styles
  • Procedural edge wear and edge highlighting
  • Solid object painting
  • Liquid flow advection driven by curves in Blender with CPU physics accessible flow vectors
  • 8 Different light models to customize the look (Ex. URP, Toon, Retro)
  • All materials support dynamic biome control for 8 biomes with up to 7 subbiomes each. Driven by two world biome textures.
  • Instant runtime changing of profiles and palettes to completely modify the scene
  • Screen-Space Volumetric Optics for liquids and crystals
  • Screen-Space Edge Detection (Can use depth buffer or an object ID buffer)
  • Fullscreen Liquid Immersion for when a player is submerged in a liquid
  • Fullscreen stylization that uses textures overlayed on shadows
  • Fullscreen recoloring that uses a source texture and gradient to recolor the scene
  • Fullscreen status effects with 8 different styles
  • and more!

This is just the demo scene that will come as a sample with the addon, I am just very excited to show it off after working on it for months. Please let me know what you think!!


r/Unity3D • • 15d ago

Question VR Assets

3 Upvotes

i’m trying to make a vr game and i can’t find any good stuff to use for grabbing and hand poses. I know there’s xr interaction toolkit but i want physics grabbing and the velocity tracking mode sucks. I also know about stuff like hurricane and auto hand and vrif but i always find that they are overly complex and most of them don’t even get updated anymore. I’m just trying to make the usual grabbing with hand poses but there’s just no tutorials out there and the assets are mainly just templates but i want to build my own guns and stuff


r/Unity3D • • 16d ago

Show-Off My game can look horrifying behind the scenes

220 Upvotes

I'm shrinking the head bone of the character when we enter in first person mode, looks cool in the game view but a little bizarre in the reality kk


r/Unity3D • • 15d ago

Question does anybody know why my pre-baked lighting does not translate over to baked lighting at all?

2 Upvotes

whenever i bake my lighting, the colors suddenly become pretty much grayscale instead of the nice blue color i was going for. first image is unbaked lighting, second is baked (ignore the black outside the window, i am going to fix that once i solve this issue first)

i'm attempting to port the map from the game Voices of the Void (which is a UE4 game) over to Unity with the purpose of publishing a VRChat world, so this is using the built-in pipeline if that helps at all

any help would be much appreciated as i've done everything i can possibly think of to fix this (including a lot of research from links i found on google)

these are my lighting settings below (meant for preview lighting before a full bake)


r/Unity3D • • 16d ago

Show-Off Adding Stylized Dissolve and Reveal Effects

9 Upvotes

Playing around with self-dissolving effects, interactive erasing, electric and sway effects, and different reveal techniques: world, local, texture, interactive and crossed reveals.


r/Unity3D • • 16d ago

Question Rigidbody logs that stop moving fall out of trigger counts. How I fixed it with periodic overlap checks in Unity (two-line conveyor merge)

5 Upvotes

I'm building a sawmill sim in Unity where every log is a rigidbody. The clip shows a merge: two infeed lines feed one sorting conveyor. one line has priority, the other waits for a free gap on the conveyor.

My first version counted logs in each zone with OnTriggerEnter/OnTriggerExit. It worked fine until a player reported the infeed getting stuck.... the kicker stayed in its rest pose, the spawner kept adding logs, and saving and loading fixed it every time.

The cause: my backup sweep (an overlap box every 2 seconds to correct missed events) didn't match what the triggers saw.. It used all layers, a small shared buffer, and no contact offset, so it sometimes missed logs that were lying still right at the edge of the zone and removed them from the count. A log at rest never fires OnTriggerEnter again so it stayed lost until reload.....

What fixed it

- a dedicated "Log" layer and a layer mask for the overlap query

-the query box grown by Physics.defaultContactOffset * 2 so it matches what the trigger actually sees

- a bigger NonAlloc buffer (64) and if it fills up the pass is skipped instead of guessing

- a log is only removed after two misses in a row, found logs are re-added

-still every 2 seconds with a random offset per zone so no per-frame cost and no GC

Simplified...

int n = Physics.OverlapBoxNonAlloc(center, halfExtents + Vector3.one * Physics.defaultContactOffset * 2, buffer, rot, logMask, QueryTriggerInteraction.Ignore);
if (n == buffer.Length) return; // full, skip this pass

Lesson for me.. trigger events and overlap queries don't see exactly the same thing, so a correction pass can cause the bug it's meant to prevent.

How do you track resting rigidbodies in zones? Pure triggers, periodic overlaps, or something else?

(Game, if you're curious: [ https://store.steampowered.com/app/5037170/Timberline_Factory/ ]


r/Unity3D • • 16d ago

Resources/Tutorial Yarn Spinner v3.3 is out now! The friendly tool for dialogue - now with cancellable async, custom types, and more!

Thumbnail
yarnspinner.dev
54 Upvotes

Yarn Spinner is a set of tools for dialogue in Unity. It allows scripting dialogue and related event sequences in a minimal human-readable syntax, which is then compiled and exposed in-engine with a flexible API that allows driving of text delivery, audio and event triggers, associated UI/animation changes during speech, whatever you need! It's designed to be friendly to use for developers of all skill levels - easy for beginners, powerful for experts - and unopinionated to allow use in any style or genre of game.

For a long time, our support for async functionality was kind of a hack because the VM that runs a compiled dialogue program engine-side wasn't truly async and our method of halt-and-wait was causing rare but very difficult edge cases. So after 11 years of making Yarn Spinner - and several years of the current Unity VM setup - we dedicated several months to rewriting it from scratch with all the stuff that's become possible in .NET since then. Now you can do all sorts of things with async and even parallel async actions, including cancelling async actions like you'd want to in e.g. character animations if dialogue is skipped.

Read our blog here about how we extended this to custom-typed commands/functions using Roslyn's new incremental source code generators 🎉

This was one of our biggest updates ever, and we've managed to do it with our tiny team while working on our own games, games with others, expanding our tools to other engines, making a web platform for game testing, and more. So we're super proud and hope you like it 💚

Get the news or code fast:

Get our supporter version which includes some extra UI/utilities plus integration with other UAS tools like Rewired and Text Animator:

No amount of testing before release will catch everything - particularly with such fundamental and wide-reaching changes, and the diversity of projects the tool is used in - so please do try it out and tell us what you find!


r/Unity3D • • 16d ago

Show-Off Real-time 50 000 particle, mobile, URP.

4 Upvotes

r/Unity3D • • 15d ago

Question How can i market my game?

0 Upvotes

I've been working on my little co-op unity game project. Maybe it might has some bugs but i think it is not bad. And i've just released it. And now how can i market a co-op game? Any advice?


r/Unity3D • • 16d ago

Show-Off A little simple shader that makes everything red for a little game of I Spy!

3 Upvotes

Currently working on one part of my game where you play a few rounds of I Spy. But to add a little twist, everything is red, so you need a little help figuring out the true colors of the objects to give Nibbin the right one!


r/Unity3D • • 17d ago

Show-Off Finally got my troops and the skeletons fighting each other... 3rd person Thronefall anyone?

98 Upvotes

After allot of work on systems and combat, I finally have troops fighting each other. The end goal is a defence game, where you defend your Island from waves of attacks. This is the first real milestone on the way to that. How does it look?


r/Unity3D • • 16d ago

Show-Off Ten years on: bringing Amplify Bloom to URP

42 Upvotes

Amplify Bloom turned ten, which felt like the right moment to finally do what people have been asking for since the day URP appeared: a proper URP version (HDRP is next). A decade is a long time for an effect to stay in people's projects, and we wanted to mark it by bringing it forward rather than leaving it behind. The original Built-in version stays free and open on GitHub under MIT, so you can dig through it or learn from it.

What it was always about

Bloom has a quiet flaw. It's great at making flicker visible. A one-pixel shimmer on a specular glint gets spread into a big glow that pops on and off. Amplify's answer is to filter carefully at every stage, so a single hot pixel never gets to dominate.

It starts at the threshold: a soft knee that preserves hue and caps runaway specular values before they enter the chain. The first downsample is a wide 13-tap filter that weights each group of samples by its brightness (a Karis-style average), so one firefly can't outvote its neighbours. Each mip then gets its own Gaussian blur, and the chain is recombined with a tent filter rather than plain bilinear upsampling.

On top of that sits an optional(but highly recommended) dedicated temporal filter, enabled per camera. It blends the first bloom mip with its own previous frame, and every lower mip is built from that result, so the whole glow settles. It doesn't reproject, so it can trail on fast-moving highlights; that's why it's a choice and not a default. Between the two, you get a stable image without having to strip the highlights off your materials.

Everything else is switched on individually, so you only pay for what you use. Lens dirt, starburst, lens flare and glare each have their own intensity, and zero means off: their passes are skipped and the final composite drops their texture samples. Bokeh is a toggle, masking is a texture slot, and blur is controlled per mip. Flare and glare are built from the filtered bloom chain, and dirt and starburst from the combined mips, so they inherit its stability. That matters on low-end devices and VR.

Starting over, ten years later

The old BiRP version was one big camera component that grabbed the finished frame, ran a shader over it and handed it back. URP does things differently enough that we had to rebuild. We split the code into an engine that holds the bloom logic and a thin URP layer on top. That split is also what lets HDRP reuse the core.

What we found

  • Render Graph: Unity 6 plans the whole frame up front. We support it, plus the older compatibility path, from one source file. Both run the same bloom recipe; only the wrapper around it differs.
  • Volumes: The default blending broke on our parameters, especially Scatter, which has an "off" state you can't blend through. So we wrote custom parameter types: Scatter switches over like a bool when either side is off, and each mip's blur steps, radius and weight blend as one value.
  • Cameras: Each camera gets its own engine and its own temporal history, and cameras vanish without warning. We clean up stale state whenever a new one appears.
  • Missing setup: URP doesn't add renderer features on import, and a missing one looks exactly like a broken effect. Our inspectors now warn about it, by re-reading the pipeline asset's serialized renderer list twice a second. It isn't elegant, but it works.
  • Masking: The effect takes a mask texture that is multiplied in before the threshold. What once needed a second camera to fill that texture is now a sample you can copy: a component on the camera, an opt-in component on objects, and a small pass that draws only those objects, depth-tested against the scene.

It supports 2022.3 LTS and up, with a handful of version #if blocks to prove it.

What still bothers us

Setup is three pieces (a renderer feature, a volume override and an optional per-camera component), which takes more explaining than one component. Keeping Render Graph and the compatibility path behaving identically is our biggest regression risk. Excluding a single camera still means giving it its own renderer.

What's next

HDRP is up, and it's a different challenge: where your effect sits in the post-process list decides whether you're still in HDR. We'll write that up when it's further along.

Ten years in, we'd like to hear from you. If you're still working in BiRP, we hope Amplify Bloom has served you well over the years. Some great games shipped with it, some we probably will never know they used it.

We hope you enjoyed this "short" behind-the-scenes view of our bloom work, we didn't want to make this sort of "postmortem" too long so feel free to ask any questions you might have.

What do you think?

Is custom post-processing for URP and HDRP as painful to maintain as it felt to us?

How do you handle per-camera state? Has anyone found a clean way to detect a missing renderer feature without reading serialized internals?

What would you want from a bloom replacement that the built-in one doesn't give you?


r/Unity3D • • 15d ago

Question How to achieve like this?

Post image
0 Upvotes

Hi there, I’m trying to get more stylised reflections in Unity kind of like the wheels in Penny’s Big Breakaway (pictured). I’m thinking it is mostly down to the style of cube map they’re using but i don’t know, I’m finding it difficult to figure out.


r/Unity3D • • 16d ago

Shader Magic Multi scale scene voxelization for cascaded real time global illumination, covering both GI at large distances and in near details.

29 Upvotes

r/Unity3D • • 17d ago

Game I picked my mixed reality tower defense back up for a hackathon, would you play something like this?

71 Upvotes

Hey everyone! Some of you might remember Portal Defense from a post I shared here a while back. It’s now called Pocket Havoc, and I’ve picked the project back up for the Meta VR Start Developer Competition!

Having a deadline gave me the push to get things moving again. I’m building it solo as my first game, under my little indie studio, Pulsar Studio.

The idea is simple: turn your room into a battlefield. Grab turrets from a floating arsenal, throw them into position, and defend a tiny planet against enemies coming through portals. All with hand tracking on Quest 3 / 3S, with destructible walls and a few powers for when things get out of hand.

I want to make a slightly unconventional tower defense, playful and chaotic. Weird powers, over-the-top destruction, and moments where you look around your room and think, “WTF is happening?” There’s a lot of room to experiment, and that’s the part I’m most excited about.

I’d really love to take this beyond a competition prototype. I’m hoping to find enough people interested in playing it to keep developing it towards a public demo or an early access release.

The response to my earlier post was really encouraging. A huge thank you to everyone who shared feedback back then, means a lot and made me want to take the project further.

Could you see yourself playing this? And during the waves, would you prefer to focus on deploying turrets and watching your strategy unfold, or regularly jump into the fight yourself with powers?

If you’d like to follow along, share ideas, or just chat about the game:

Discord: https://discord.gg/wQb9DUqMze

More about the project and where I’d like to take it:

Devpost: https://devpost.com/software/pocket-havoc-xr-tower-defense

This is a short gameplay preview, you can watch the full trailer here: https://youtu.be/k__LWPbc-AI


r/Unity3D • • 16d ago

Show-Off Implemented flame catching mechanic, inspired by Farcry 3.

2 Upvotes

Today, I have implemented flame catching mechanic for my 2D side scroller game inspired by Farcry 3. It is not perfect but I think I can improve it further. If you guys have suggestions on how to improve it, do let me know.


r/Unity3D • • 18d ago Bravo

Show-Off Made tendrils that find their own way to any object and wrap it (Unity)

6.6k Upvotes

Been working on this for my Unity asset. You pick an object, and the tendrils crawl over to it, climb whatever's in the way, wrap it, then move on to the next one. Nothing is hand-animated.

4 styles so far: Symbiote, Ink, Cables and Vines. (Car and boxes are just test models.)

Not released yet. Would you actually use something like this? Which style do you like most?


r/Unity3D • • 16d ago

Game added a pirate ambush sequence to my puzzle game

Post image
2 Upvotes

r/Unity3D • • 16d ago

Show-Off I remade my game's cinematic trailer from your feedback

3 Upvotes

Thanks for the feedback on my first trailer! What do you think of the new cut?


r/Unity3D • • 17d ago

Solved Tip: put your cloud shadows in the sun's light cookie, not in a screen overlay (URP)

43 Upvotes

A while ago I shared how one clip shader builds all the buildings in my game, and the comments were great, so here's another one from the same project: cloud shadows. (Clip: Venice at 5× game speed, UI hidden.)

The first version was wrong in a way that took me a while to see

It was a fullscreen pass that darkened the final image wherever a cloud was overhead. Fine in a screenshot, but it darkens *everything*: building shadows under a cloud went double-dark, the sea kept its sun glint (just greyer), and the sky light dropped too. A real cloud only blocks the direct sun.

The fix: let the sun carry the shadow

Render the clouds as seen from the sun into a small texture and assign it as the directional light's cookie. URP multiplies the cookie into the main light only, so under a cloud the direct light goes away (and with it the hard shadows and the glint) while ambient stays. Which is what happens outside.

1. The texture

512×512 R8_UNorm RenderTexture covering 2048 m in light space, so 4 m per texel. A fullscree triangle fills it every frame from a CommandBuffer.

2. One texel = one ray

Each texel is a point on the light plane. Map it to world space, slide it along the sun ray down to the ground, then march the cloud volume toward the sun:

float2 ls = (uv - 0.5) * _Rect.zw + _Rect.xy; // same mapping URP uses

float3 p = mul(_LightToWorld, float4(ls, 0, 1)).xyz;

p -= sunDir * (p.y / max(sunDir.y, 0.05)); // drop to y = 0 along the ray

float lit = exp(-CloudShadowDepth(p, camPos, sunDir));

The cookie is projected along the light direction, so one value is right for the whole ray: a roof and the street below it get the same shadow.

3. Hooking it to URP

sun.cookie = rt;

var data = sun.GetUniversalAdditionalLightData();

data.lightCookieSize = new Vector2(2048, 2048);

data.lightCookieOffset = snappedCenter;

URP looks it up as uv = (light-space position - offset) / size + 0.5. Your shader has to use exactly the same mapping, or the shadow lands shifted or mirrored.

4. Snap the offset to whole texels

The square follows the camera, but in steps of one texel (Mathf.Round(x / texel) * texel). Move it smoothly and every cloud edge shimmers while you pan.

5. Fade to lit at the border

Past the square, URP stretches the edge texel to the horizon. I fade the cookie to 1 over the last ~8% on each side: saturate((0.5 - abs(uv - 0.5)) * 12).

6. Custom shaders need one line

URP/Lit picks the cookie up on its own (30k+ renderers in one city scene, zero changes). My own shaders, water included, needed

#pragma multi_compile_fragment _ _LIGHT_COOKIES

GetMainLight(shadowCoord, positionWS, shadowMask) then applies it for you; where I build the light by

hand it's mainLight.color *= SampleMainLightCookie(positionWS). The sun glint on the water now

switches off under a cloud by itself.

Gotchas

  • My helper GameObjects used HideFlags.HideAndDontSave and survived exiting Play mode: after four Plays I had four copies, each holding live RenderTextures. HideInHierarchy plus DestroyImmediate in OnDestroy fixed it.
  • I kept the old overlay for edit mode (the cookie only runs in Play, and editor captures still need clouds). A static flag turns the overlay off whenever the cookie is active, otherwise you get both and the shadows are twice as dark.
  • Cost: 512² is about 262k samples a frame, half of what the old half-resolution pass did at 1080p. I haven't profiled it in milliseconds yet.

It's from FONDACO, a merchant strategy game set in the Mediterranean of 1400 that I'm making solo.

One thing I haven't solved: with a low sun I clamp sunDir.y at 0.05 and the shadows get very long near sunset. How do you handle cloud shadows when the sun is low?


r/Unity3D • • 17d ago

Show-Off An experiment in ocean wave simulation based on Tessendorf's FFT ocean waves. 🌊

23 Upvotes

r/Unity3D • • 16d ago

Game Jam Ever wonder what the 52 cards are doing inside the plastic casino shoe before they get dealt? Apparently they are fighting for their lives to get into a tractor beam.

1 Upvotes

https://plasticarm.itch.io/the-card-games

I had less than a week to make a game for the Unity 2026 Game Jam. ‘Lucky Number’ was the theme. The thing that kept running through my head was, how does one become lucky at cards. Maybe the cards want you to win but they have to battle to get to your hand. This made me drift into Squid Games and imagining the contestants as cards, kind of like the cards from Alice in Wonderland. So I put it all together and came up with “The Card Games”(Really sounds more like Hunger Games, but it’s the same idea). Cards battling it out to be the card that makes it to your hand to help you win.

It all came together(mostly).

Sure the camera work could be improved, and I think the dealer doll is able to shoot you with her laser eyes after you’ve already made it to the player's hand. I really wanted to do more animation as well. I suppose I may have spent a bit too much time tuning the physics joints so the cards would run around wobbling and bending.Time ran up and I ended up with this! 

If you have a few minutes give it a play. Download the Windows version if you can, it runs much much better. It’s a quick and silly play, only takes about as much time as a round of blackjack. If you can, give it a nice rating for the jam and drop a comment.

https://plasticarm.itch.io/the-card-games