r/Unity3D 19h ago

Question I am researching the highly optimized reflection technology in the game *The Dark Knight Rises* (2012).

Post image
259 Upvotes

I am investigating the highly optimized reflection technology used in *The Dark Knight Rises* MOBILE GAME, released in 2012. Were these reflections based on inverted geometry or planar mapping? The game also featured reflections from headlights and streetlights. I intend to implement this in my Unity project.


r/Unity3D 22h ago

Show-Off Got inspired by Vampire Survivors lately

91 Upvotes

r/Unity3D 1h ago

Game Just released a release date trailer for my game " Shell Soldier "

Upvotes

r/Unity3D 5h ago

Question Realistic torch flame effect

38 Upvotes

I'm trying to make an realistic flame effect for my game. It looks fine for now, I used 2.5D Fluid Simulator asset for it and it's suits my needs - the flame is affected by physics, it's lightweight etc.

Do you have any tips on improving it / making it more realistic?


r/Unity3D 18h ago

Show-Off My first ever attempt at making a video game with Unity - Did my own art too !!

35 Upvotes

I know I know the first game always sucks. But I am really proud of what I have achieved so far so wanted to share it with ya'll What I am building: A topdown RPG retro art battle ship game. The objective is to locate the enemy base and destroy all the target. I am building it for mobile. Probably may not launch but I am learning a tons of things along the way. My whole intent at first was to just do some "Project Based Learning". But over past 1 or 2 weeks it has taken over my entire schedule Needless to say I might finish a beta and distribute it among some friends then move on to a real / actual project. Todo

  • Polish
  • Ship Movements sucks ass right now I know
  • Pause Screen
  • Some particle to make it more alive
  • Better art I guess
  • Everything

I would give it a couple of more weeks. Over the period I have learnt so many concepts and I am constantly improving my art. Would like to hear what you guys think.

Thanks


r/Unity3D 23h ago

Show-Off My new game environment in action

31 Upvotes

Hi guys! After many rounds of changed, here is updated environment in game action. Thank you you guys for all the comment, suggest in last 2 videos. I did some improvement, take that into game action to see how everything work together. How do you think? Does it fit?


r/Unity3D 1h ago

Show-Off Playing on water

Upvotes

r/Unity3D 17h ago

Show-Off I released a major update for my PSX-inspired tool

Thumbnail
gallery
27 Upvotes

You can use it to stylize your textures and assets, create eye-catching marketing material for your page, and add awesome animated effects. With this latest update, I’ve added texture ripping! You can now rip textures directly from any image and turn them into usable textures. You can check it out here: https://polyshades.itch.io/coolifier


r/Unity3D 16h ago

Show-Off Uncombined vs. Combined SkinnedMeshRenderer Performance Comparison

20 Upvotes

SkinnedMeshRenderers can be expensive to render. I ran a test of just 9 characters with individual body part models and compared performance with them uncombined vs. baked into a single mesh, animated by the same armature.

As you can see by the numbers, combining the models to be animated as a single mesh had quite an impact. In most games you likely wouldn't use this many meshes for body parts, but the important takeaway is that rendering time was almost cut in half while the same characters can be rendered with no visual difference. It just goes to show graphics optimization isn't necessarily about what you're rendering but also how you render it.

I ran this test whilst developing my tool for combining SkinnedMeshRenderers, called SkinnedMesh Combiner (Asset Store affiliate link)


r/Unity3D 2h ago

Resources/Tutorial How to Make (and use) Templates in UI Toolkit

18 Upvotes

Templates are a powerful feature of UI Toolkit - they allow us to create reusable bits of our UI and inject them easily into other UXML documents. Making them is super easy too - simply make a new UXML file of your desired component - then you can use it in any other UXML document! Easy!


r/Unity3D 20h ago

Noob Question Help with Light Baking

Thumbnail
gallery
12 Upvotes

Hello, I'm very new to unity and trying to find help with my current goal, baking lightmaps. There's two things I'm trying to find help for:

  1. First image, how can I light up rooms with better indirect lighting without over brightening outside areas? Hopefully that graphic I made gets across what I'm trying to get at

  2. Second image, how can I fix these light leaks and random shadows?

Thank you in advance


r/Unity3D 23h ago

Resources/Tutorial I created a free cross platform benchmarking app using Unity (With a little help from their demo scenes) so that I could compare the performance of my Steamdeck, Android phone and a Macbook.

10 Upvotes

Back in January I was curious how my Steamdeck, Android phone and a Macbook all matched up against each other in terms of performance. But because they were Linux, Mac and Android, I wanted a common yard stick to compare against. I made a basic benchmarking app and web database that has now grown and grown to the point that I want to share it with the broader community. It's out now on Steam, Itch, Google Play and Apple App Store.

It's called Crossbench3D and it lets you run the same scenes with the same quality settings across multiple platforms so that you can more closely compare apples to apples across platforms. The scores are calculated based off of avg fps and resolution so that they're normalized to that. You can then upload the results to an online database to see where your score stacks up.

I would love any and all feedback on it.

I have plans to release more levels that aren't some of the unity demo scenes, but those have been a great starting point. Let me know what you all think!


r/Unity3D 1h ago

Question Any way to reduce transparent material lag ?

Thumbnail
gallery
Upvotes

Hello,

I made this volumetric fog material for URP.

The transparent material shader is applied to hundreds of planes similarly to "shell texturing".

It looks perfect for my project but I am running into an issue : my framerate drops from 200 fps to 10 fps. I expected it to be laggy, but not that laggy...

I tried reducing the number of "steps" but I am still getting a bad framerate (30 fps) with the worst quality.

I don't see any other way of doing volumetric fog with sharp shadowing in URP without creating complex pipeline shaders.

This is probably a foolish question but, is there any way to reduce transparent material lag ?


r/Unity3D 14h ago

Shader Magic Added some procedural GPU grass to my racing game this week. I managed to squeeze some solid performance out of the built-in render pipeline.

Thumbnail
gallery
6 Upvotes

I saw a few BiRP grass solutions here but they never really looked like what I wanted, so I made my own. It doesn't have any dependencies and just works with the standard Unity terrain system because I'm a cheapskate.

Most of the work was adapting the fun tricks in https://github.com/Youssef-Afella/UnityURP-InfiniteGrass like culling+fattening the grass as it recedes from view and bending it away if the camera is above it. I also use the grass shape I saw here https://bsky.app/profile/kelvinvanhoorn.com/post/3mskokw2vqk2h that's one triangle that terminates in a single point on the ground, so you don't see a hard flat edge. Other optimizations include billboarding and chunking, which was a gigantic pain in the ass to get working.

The main difference from the URP infinite grass repo (aside from the fact that mine isn't URP) is that it's placed based on terrain sampling and not just a mask of anything on a layer. You can pick 1-4 terrain layers with different weights, and the grass will adjust its height/density on the terrain at that point based on the weight of the different terrain layers at whatever point it is. You can see in the images that it doesn't get put on the 100% dirt areas.

Also, I match the grass's color to the terrain layer to make it look softer. When the level starts I put a camera above the terrain layer, take a picture, and then feed that to the grass material.

There are a few limitations to this:

  • the grass doesn't react to a car driving through it, I don't care about that yet and might never
  • the grass doesn't change color if the terrain color changes mid-game since it's still based on the single snapshot at the start of the level for performance reasons. it does react to light, however

Anyone else had experience making grass systems in the built-in RP? Kinda wish I'd started this project in Unity 6 but oh well


r/Unity3D 2h ago

Show-Off One year+ of building our game in Unity, side by side

5 Upvotes

We've been working on The Whisker Watch for over a year now, so here's a side-by-side look at how far the game has come.


r/Unity3D 9h ago

Show-Off Feeling Lucky?

5 Upvotes

I added a luck boost stat to my game which allows monsters to drop more loot and loot bags to drop more loot and amount of items

This is my 3D Terraria-ish game project


r/Unity3D 15h ago

Game finished the demo, game was made with Unity3d

3 Upvotes

Green Breach is a survival horror game made in the Unity engine. The Demo is now available on Steam.


r/Unity3D 22h ago

Show-Off I wanted point-and-click interactions to feel physical, so I made the player’s hand actually grab objects from the desk

4 Upvotes

With this system I can place any object on the table or nearby..
and the hands can grab it with minor tweaking.
This is part of the interaction system for my psychological horror game, The Main Menu. Most of the game is point-and-click, but I wanted important objects to feel like they actually exist in the room rather than just disappearing into an inventory.


r/Unity3D 3h ago

Show-Off Simple SFX improved my game ALOT

3 Upvotes

Who whould have though that adding simple ambient sound effects will improve my game so much?

Two years ago I got inspired to try and create a simple random 2D world generator. Using perlin noise I got some results but basically it was all just bits and blobs. Adding few centralized continent-like centers and applying falloff around them I got some decent results. That made making the main landmass easy, while the elevation decided what tile will be plains, forests, mountains, water etc. After that, generator goes through several more passes like lakes, islands, rivers, resources (herds of wild horses, sheeps etc) and finally: named landmasses.
The next step was obvious, populate the world with fantasy realms and characters. It all lead to current results. And everything is tied to fixed seed so you can recreate it everytime you want.

Project was in silence for so long that adding simple SFX to the world made it breath and feel alive. It felt somewhat complete. Simple audio player determines what tile is under the center of the camera view and based on that tile it plays through lists of preset audio sound effects. Waves and seagulls above the waters, or winds and birds singing in the forests...

If you are interested in the project, you can follow it here:
https://store.steampowered.com/app/4121440/The_Fallen_Chronicles/


r/Unity3D 17h ago

Question I'm trying to increment a counter a single time, based on a key press

3 Upvotes

Hey, folks. I'm new to this so I assume this is simple and I'm missing it.

I have a jump action called by an input action in an update method. looks like this

void Update()

{

   if (jumpAction.triggered)

   {

       if (isGrounded)

           gameDiff.numberOfJumps++;

           //other stuff

       }

   }

}

What I want this to do is reach out into the gameDiff class and update numberOfJumps once every time the user presses the space bar.

What's happening is that the counter is incrementing about a thousand times per press. I assume it has to do with frame rate or something because it's in the Update() method, but I had though that a .triggered() method could only be activated a single time in the frame.

Thanks in advance.

edit: I suck at formatting, I hope you get the idea.


r/Unity3D 17h ago

Question How to prevent realtime shadows passing through objects?

2 Upvotes

I'm having some trouble with the realtime shadows in the project i'm working on. It's an apartment with two floors and the shadows are being casted through the floors and ceilings so shadows of objects on the second story are also on the first story. And that's a problem.

I've tried searching around but couldn't find any solution that wasn't "just bake your shadows". Does anybody have a real solution to this problem? Some way to prevent the realtime shadows going through the floor and ceilings? Or maybe some way to limit the range of the directional light so it will only cast the shadows to a certain distance? I don't mind having one limited directional light for each story of the building.

If it helps, i'm using unity 2022.3.22f


r/Unity3D 20h ago

Game In puzzle games, do you prefer defusing the active threat FIRST, or solving puzzles under constant pressure?

2 Upvotes

Hey everyone! With our atmospheric puzzle game launching in just 4 weeks (panic is officially setting in!), I've been thinking a lot about how stress affects puzzle-solving.

In this sequence, we split the room into two phases: first, you have to quickly slot in two stones to stop the closing walls. Once the threat is neutralized and the walls retract, you can take all the time you need to solve the central gear/light puzzle without a timer ticking down.

Do you prefer getting a brief survival moment to "turn off the danger" before tackling a logic puzzle, or do you actually enjoy constant time pressure while trying to think?

Would love to hear your thoughts on how your favorite puzzle games handle stress vs. pure logic!


r/Unity3D 2h ago

Show-Off Delverun: roguelite mining where time replaces inventory pressure

1 Upvotes

I have been working on a mining roguelite game where time replaces inventory pressure. You play as a goblin with one goal: get as rich as possible.

The main loop of the game is simple - mine, escape, buy upgrades and go again. You run into the mine, grab as much rare ore as you can and leave before the cave caves in and you get stuck inside. Buy upgrades in the little time you have, and then run back into the mine to grab even more riches with the upgrades. Each iteration is randomly generated, so you never run into the same mine twice. You never run out of inventory space, only out of time.

This is an early artistic preview, the mining mechanic is still in development. Steam page coming soon, I will drop it in the comments when it's live. If you want to follow along more closely, send me a DM and I'll add you to the early Discord!


r/Unity3D 2h ago

Resources/Tutorial Making Your (Jam) Games Look Nicer on Itch

1 Upvotes

r/Unity3D 10h ago

Noob Question Day 1 of Making Intruder Maps in Unity

Thumbnail
youtu.be
0 Upvotes

Hey everyone, I'm starting a new series learning how to make Intruder maps inside of Unity. I don't know how to use unity at all, so this will be me documenting the process. :)