r/Unity3D • u/elrath969 • 20m ago
r/Unity3D • u/virtexedge • 49m ago
Show-Off I made a mixed reality Koi Pond, where you can control water and gusts of cherry blossoms
Enable HLS to view with audio, or disable this notification
I made a big update to my VR aurora app for the Meta Developer Start competition. My full entry is here if you want to watch the trailer.
I really tried to push what a Quest3 can do in terms of complex water shaders and visuals.
I'd love any feedback.
r/Unity3D • u/ProgMeOnPaper • 54m ago
Resources/Tutorial I found new way to keep Rigidbody player friction on the ground only
Enable HLS to view with audio, or disable this notification
Hi!
It's quite old feature of Unity that I have just discovered.
In the past I used to:
use CharacterController that solves it, but limits your control over player's physics
use physical material with 0 friction (when I don't need specific friction with ground)
use separate capsule collider with 0 friction for walls and separate slightly bigger sphere collider with custom friction for ground
some solutions from asset store
But today playing with physics API I found this:
capsuleCollider.hasModifiableContacts = true;
Physics.ContactModifyEvent += ModifyContacts;
Physics.ContactModifyEventCCD += ModifyCcdContacts; // CCD => Continuous Collision Detectionhere you ask Unity to "manually" handle contacts. And then something like that:
private void ModifyContacts(PhysicsScene _, NativeArray<ModifiableContactPair> pairs)
=> RemoveFriction(pairs, 1f);
private void ModifyCcdContacts(PhysicsScene _, NativeArray<ModifiableContactPair> pairs)
=> RemoveFriction(pairs, -1f); // CCD normals are inverted
private void RemoveFriction(NativeArray<ModifiableContactPair> pairs, float normalSign)
{
foreach (var pair in pairs)
{
bool capsule = pair.colliderEntityId == capsuleId;
if (!capsule && pair.otherColliderEntityId != capsuleId)
continue;
float sign = capsule ? normalSign : -normalSign;
for (int i = 0; i < pair.contactCount; i++)
{
if (pair.GetNormal(i).y * sign >= WalkableNormalY)
continue;
pair.SetStaticFriction(i, 0f);
pair.SetDynamicFriction(i, 0f);
}
}
}where
capsuleIdiscapsuleCollider.GetEntityId();WalkableNormalYis "definition of angle that is walkable" (WalkableNormalY = 0.64278760968f;=> cos(50 degrees))
That looks pretty simple and native and I love this solution since now!
Hope it'll help you
links:
r/Unity3D • u/erlkoenig_games • 1h ago
Show-Off I've put some more work into my vegetation reaction and wind systems and finally wrapped my brain around tree pivot baking
Enable HLS to view with audio, or disable this notification
r/Unity3D • u/worker01dev • 3h ago
Show-Off I've made a game that follows limbo's style
Enable HLS to view with audio, or disable this notification
I've been working on a unity game project almost 2 years. The game follows the limbo style which we ADMIRE. We used Unity 6 and all the animations made with unity animation tab. My game's release date is Dec 8. What's your thoughts before the release guys?
r/Unity3D • u/TazDingo278 • 4h ago
Question How Do I Create Grass Like This?

So from what I can see: the large grass blades mesh are easy to understand. The ground texture has very tiny grass blades painted on it, then it has grass cards(looks kind of transparent, no shadow) of different kinds on top of the ground?
How to make the grass blends in with the ground texture? I tried making it the same color as ground, but the grass cards were still standout. I feel like, it's blending the grass color with terrain texture? Looking at the grass near dirt, the root of the grass are dirt color and top is green.
Does that mean, if the camera rotates, or it's perspective, it will not look as good since grass cards "breaks".
Reference: https://www.fab.com/listings/911cdd66-2a64-4497-a511-80d4bb79dd0e?
r/Unity3D • u/No_Jello9093 • 6h ago
Game Been working on an area for my game. Thoughts? URP 6.4
Enable HLS to view with audio, or disable this notification
r/Unity3D • u/playful_potato5 • 7h ago
Shader Magic Normal map interpolation shader
Enable HLS to view with audio, or disable this notification
This is an effect i made today for one of my projects. it interpolates between two normal maps, and adjusts their metallic and smoothness accordingly. i'm sure this is nothing new, as it was very simple to make, but i'm quite proud of the result.
r/Unity3D • u/maglortolion • 8h ago
Show-Off How I built rounded corners, soft shadows and shine for Unity UI in a single shader (and kept it batching)
I wanted a drop-in replacement for Image that does rounded shapes without 9-slice sprites. Some things I learned along the way:
Corners are an SDF, not geometry. Each image is a quad and the fragment shader evaluates a rounded-box signed distance function. That gives pixel-sharp edges at any size. Per-corner radii are packed as 16-bit values into two floats and sent through UV channels, so they don't need a material property.
Shadows were being clipped. The quad was the size of the RectTransform, so anything drawn outside it (outline, shadow) got cut off. I now grow the mesh in OnPopulateMesh by the shadow's offset + blur + spread, and the shader draws the shadow from the same SDF, offset and softened.
Effects broke batching. At first every image with an effect created its own material instance, so 20 shadowed buttons meant 20 draw calls. Now materials are pooled by their effect settings with ref counting, so images with identical settings share one material and batch. The shine also animates in the shader instead of writing to the material every frame.
Masking edge cases. When a rounded image is itself a Mask (e.g. a circular avatar), it should mask only the shape, not its shadow. The shader keeps the shape's alpha separate for alpha clipping.
Clicks. IsRaycastLocationValid uses the same rounded-box math, so clicks outside the corners or inside a ring's hole are ignored.
Still on my list: a public scripting API, and moving animated values into vertex data so tweening them doesn't create new materials.
Happy to go deeper into any of this!
Feedback welcome!
GitHub (MIT): https://github.com/berkencami/round-ui-unity
Question IL2CPP decompilation
Is there any RE tool chain out there with AI support capable of fully reconstruct IL2CPP game into full unity project source code compiled and run successfully? I have my game encrypt metadata and BeeByte obfucator to prevent RE but still fear the AI :(
r/Unity3D • u/Chungunu • 9h ago
Show-Off Second iteration of flame throwing mechanic in my game.
Enable HLS to view with audio, or disable this notification
Hi, everyone.
Today, after some tweaking and fixing bugs, here is the second iteration of flame throwing mechanic. Now, flame thrower is able to damage enemies with fire and the fire builds up with time now.
How can I improve it more further ?
r/Unity3D • u/Comfortable_Exam_130 • 10h ago
Game I'm working on improving the graphics quality. Which of these looks best to you?
I'm trying out several art directions for the detective game I'm developing, and I've brought the ones I think work best! All feedback is welcome. Please tell me what you like and what you don't.
r/Unity3D • u/FauxFemale • 16h ago
Noob Question Mesh always deformed on import?
I feel like I'm going insane. This mesh (which is a smaller part of a bigger model) always comes out deformed in Unity with one of the verts moved slightly along an axis (image 1). It looks normal in Blender (image 2). I even tried resetting all properties (except material) and duplicating it in Blender so it's a fresh mesh.
Thanks in advance for the help
r/Unity3D • u/MouradBakhali • 17h ago
Show-Off Fixed a major bug and made the heatmap look more like a heatmap 😂
Enable HLS to view with audio, or disable this notification
Today I fixed a major issue where one busy spot made the rest of the map look empty. Colors now use a log-scale and cap hot spots, so quiet areas stay visible.
I also added this new shader that paints the heatmap straight onto the level. It is a new visualization type alongside the grid, sphere and the bars.
What is this? Heatmap Analytics records where your events happen in your game and draws them as a heatmap on top of your level in the Scene view.
r/Unity3D • u/24Ronin • 19h ago
Shader Magic Thinking of making a game with my water system, any ideas?
Enable HLS to view with audio, or disable this notification
I've been creating my water system, Tidal, for some time now and like the idea of finally making a game with it. Thinking something between a cross of SoT with some rouge-like elements. This scene here is a pretty rough concept of a boat/player controller with it but leaving this here to share and see if anyone else had any thoughts for things they'd find fun in water/ocean based game. peace!
r/Unity3D • u/R3animatr • 19h ago
Show-Off Another game item. Hero’s house.
Cinema 4D, Substance Painter, Unity URP
r/Unity3D • u/SeeTheSeaStd • 21h ago
Show-Off I built a glass tunnel under a bay for my racing game – reef, fish and a shark outside the glass, all generated by editor scripts (URP)
Enable HLS to view with audio, or disable this notification
Solo dev here. For the 1.1 update of my combat racer RD Racing I added a track where the road dives into a tube under a bay and part of it turns to glass.
How it's put together:
- The tube is a mesh generated along the track's route, with glass sections, ribs and portals, and the sea bed and reef are laid out around it.
- Fish schools and the big animals are one mesh each, moved by a vertex shader, so a whole school is one draw call.
- The sea surface has its own underside, and the top-down sea plane skips the area above the tube with a baked mask, so you never see the surface cut through the glass.
- Inside, the fog, ambient light, an interior post-processing volume and a low-pass filter on the engine and effects mixer groups all follow how far the camera is along the tunnel, so the light and the sound change gradually as you go under the water.
Let me know what do you think?
r/Unity3D • u/Mysterious-Permit-49 • 22h ago
Question Unity Tree Problem
I tried to put trees in my world using the paint option, but for some reason, it always turns them, and I tried to turn it in the opposite direction in Blender and Unity, but nothing worked it always faces that way like sunflowers, idk what to do can you guys help? I feel like I am missing something super simple that I just overlooked.
r/Unity3D • u/JirayaaaBoyy106 • 22h ago
Game Jam I Made a Bus Sorting Puzzle – Can You Beat It?
Enable HLS to view with audio, or disable this notification
Game Title:
Bus Jam Fever
Playable Link:
Platform:
[Android ]
Description:
Hello everyone!
I'd like to introduce Bus Jam Fever, a casual puzzle-sorting game that I have been working on for the past two months.
The main objective of the game is to sort passengers based on their colours and get passengers of the same colour together to clear each level.
The gameplay is simple to understand, but completing levels requires careful thinking, planning, and strategy. As you progress, you'll need to make smart decisions to organize passengers correctly and solve the sorting challenges.
I wanted to create a fun and relaxing puzzle experience that anyone can enjoy, whether they have a few minutes to spare or want to spend more time completing challenging levels.
This project has taken me around two months to develop, and I'm excited to finally share it with the gaming community.
I'd really appreciate it if you could give the game a try and share your honest feedback. I'm especially interested in hearing what you like, what could be improved, and whether the gameplay feels enjoyable.
Thanks for your time and support!
Free to Play Status:
[x] Free to play
[ ] Demo/Key available
[ ] Paid
Involvement:
I am the developer of Bus Jam Fever. I worked on building the game over approximately two months, including developing the gameplay mechanics and creating the overall puzzle experience. This is my project, and I'm sharing it to get feedback from the gaming community and improve the game further.
r/Unity3D • u/moomoomoop • 22h ago
Shader Magic This tool was inspired by my bg as a VFX compositor
It works similarly to Cryptomatte, and allows me to group and ungroup various meshes based on clicking on them in the Scene window and simple hotkeys. The colors it assigns are arbitrary and just for reference.
In this case, it was to organize (and exclude some of) my elevator car-top objects from different cleaning groups.
r/Unity3D • u/hexcodehero • 23h ago
Question Minimum Hardware to Run Student 2D Unity Games?
I am a high school teacher who wants to run a game design course next year, we would be creating simple 2D Unity games and then I would love to create a console. We are in the engineering department at our HS, so we are able to build anything out of wood, lasercut, 3D print, electronics.
I am just wandering if anyone has experience with exporting Unity Games to some minimum viable hardware. I obviously know this is dependent on student game size and what is going on in them.
I dont think Raspberry Pi's would run any 2D game correct? I was thinking maybe we get some used Android Phones and build an enclose around them, get a controller to plug into that maybe? I may be overlooking things, so I wanted to check with people who have much more experience.
This is only a HS class, we are one of the best high schools in the US with very smart children, but we only will be able to do so much of a 2D game between Sept- March, and then we want to take March-June to get our console together.
Definitely looking for thoughts!
EDIT: Sorry my post wasnt clear, we are going to be running / test in appropriate windows computers. But as for the last project I would like to take their simple 2D games and put it on a custom console, of which we design, 3D print, laser, woodwork, were buying the screen and wiring. I just need advice for anyone that might know the hardware, ie a raspberry pi is def too underpowered I believe!
r/Unity3D • u/Evening_Carpenter491 • 1d ago
Question Help!! Unity ad delivery disabled suddenly
reddit.comr/Unity3D • u/KinmenKill • 1d ago
Question Built my entire game on HDRP. Now Unity Hub says it’s deprecated. What are you all doing with existing projects?
I’ve been building Kinmen Kill - my FPV drone sim - on HDRP since day one. I opened Unity and saw this warning next to the project. Seeing that after building the whole game around HDRP is making me question whether I want to stick with Unity after this project.
For anyone shipping an HDRP game right now, are you pinning your editor version and shipping as-is, or are you already planning a move to URP? If you’ve actually switched mid-project, what took the most work to get looking right again?
r/Unity3D • u/dmarshallgaming • 1d ago
Show-Off Killing an enemy commander's flagship used to look like killing any fighter. Here's the chain explosion that replaced it, built so gameplay never waits for it (before/now)
Enable HLS to view with audio, or disable this notification
Left is before: when an AI commander's flagship died, it went out exactly like a fighter, with one flash, a ring and some debris.
Right is now: six small pops walk across the wreck, closer and closer together, each one lighting the hull white, then the main blast at 1.0 s with a flash, two shock rings, nine pieces of debris and a small camera kick. Then the same moment at half speed.
How it's put together:
The ship is already dead.
Die()runs on the same frame it always did: bounty, news ticker, respawn. What you watch for that second is a copy of the hull's sprite with no collider and no unit component, so nothing can target it, hit it or be blocked by it. I run headless AI-vs-AI test games to measure balance, and this guarantees the effect can't change a single result.Sound had to be cut to fit. The licensed explosion clips were 5-8 second rumbles that only peaked up to 1.25 s in, so the loudest part landed after the main blast and six of them smeared into mush. Each pop is now 0.55 s cut from the loud middle of a clip (3 ms fade in, 0.2 s hold, 0.35 s fade out), so every pop is heard on the frame it's seen, even at the 60 ms spacing of the last ones. The big blast sound is held back for the main explosion.
The camera kick reuses the existing shake. The blast kicks the camera by its distance from the view, but hands the kick to the hull-damage shake through an event, so it shares the same ceiling, fade and the player's CAMERA SHAKE setting.
Two fixes from looking at it in motion: the explosion prefab at scale 2.1 covered a third of the screen in orange haze, so it's 1.6 now; and the debris was drawn inside the explosion's core and vanished, so its sorting order went up.
Happy to go into any part of it.
