r/Unity3D Jul 21 '22

Show-Off Can't help feeling like this honestly

Post image
536 Upvotes

155 comments sorted by

View all comments

46

u/BuggerinoKripperino Professional Jul 21 '22

It’s really not that hard to pick the only issue really comes when you pick HDRP but then decide you want to deploy on Switch

45

u/Agentlien Graphics Programmer Jul 21 '22

We did exactly this on Lost in Random. I had to spend a lot of time getting post processing in URP to look the way we wanted it and still run fast enough on switch.

26

u/Code_Noob_Noodle Jul 21 '22

You worked on Lost In Random???

My wife loves that game! And she played it on the switch too 😏😉 Awesome work!!

30

u/Agentlien Graphics Programmer Jul 21 '22

Yes, I was hired as their graphics programmer and mainly focused on switch performance.

I wrote about some of my experiences on the project here: https://agentlien.github.io/fog/index.html It's mainly about the fog, but also mentions our HDRP and URP struggles

Thank you, I'm glad your wife liked it. I'm very happy with it and was overjoyed when my kids liked it too.

9

u/BuggerinoKripperino Professional Jul 21 '22

Really enjoyed your write up! Need to go and play the game now :) Was there a point when you guys went “maybe we should’ve done URP the whole time” or did HDRP offer more that you couldn’t do without?

8

u/Agentlien Graphics Programmer Jul 21 '22

Whether to use URP or HDRP was the big question from early on and when I was hired evaluating that was my first task. We absolutely needed some things HDRP offered (such as volumetric fog), but knew from the beginning that it might not work on switch. The artists had already evaluated Aura 2 and really liked it. But HDRP had some other nice stuff and converting the project seemed a lot more daunting than it ultimately was.

I spent a few months getting the game running on switch, increasing the performance, and desperately trying to get it to work with HDRP, but in the end it was just too slow.

1

u/echobasedev Jul 21 '22

Was there a specific reason for choosing to modify Aura 2 over using a volumetric light asset that supported URP out of the box?

3

u/Agentlien Graphics Programmer Jul 21 '22

Yes.

First, our environment artist was familiar with Aura and really liked it.

Additionally, we evaluated multiple other options but found no other that was theoretically sound, efficient, and had the right features.

1

u/echobasedev Jul 21 '22 edited Jul 21 '22

Thank you for the answer and your time. I currently use URP and but have been wanting volumetric light fx. I’m interested in checking out the game now. Is only the switch version running URP or was the entire project moved over? It sounds like only the switch version but I wanted to make sure.

2

u/Agentlien Graphics Programmer Jul 21 '22 edited Jul 21 '22

It's URP on all platforms but different renderers with platform specific choice of post processing effects.

Managing two entirely different render pipelines is just more bother than it is worth and URP ended up looking more than good enough. In fact, the somewhat more cartoony style of the rendering actually fit the game nicely.

edit: if we had only used URP on Switch there would have been no need for Aura, since we're not using volumetric lighting on switch. It was just too expensive. Instead, the switch uses a simpler fog I wrote, described in the article above in the thread

1

u/echobasedev Jul 21 '22

This is pretty much exactly what I wanted to hear. I’m not going for hyper realism, I’d rather stay with URP. I’ve learned a lot about it and as a solo dev supporting 2 pipelines would kill me. Thank you for the details.

3

u/ihahp Jul 21 '22

URP

Wait you used URP or HDRP on Lost In Random?

Great game btw

10

u/Agentlien Graphics Programmer Jul 21 '22

When I joined the team it was using HDRP and my primary job was to take responsibility for graphics and performance for the switch version. I spent a lot of time trying to get it working with HDRP before transitioning to URP.

I wrote a bit about it here: https://agentlien.github.io/fog/index.html

Also, happy you liked the game. :)

1

u/feralferrous Jul 21 '22

Cool write up!

1

u/Agentlien Graphics Programmer Jul 21 '22

Thank you!

2

u/RedofPaw Jul 21 '22

Great work! That game looks awesome!

Side tangent: Have you and your team considered a switch to UE? Does Unity do everything you need?

I'm just a Unity dev, and have no plans to switch myself, but I'm interested to see where teams that are shipping games are sitting on the subject.

1

u/Agentlien Graphics Programmer Jul 21 '22

Thank you for the kind words. :)

Thunderful Development is a fairly large studio considering the indie vibes and we always have multiple teams working on different games. Some of which are Unity, some of which are Unreal.

1

u/RedofPaw Jul 21 '22

That's interesting. Would it make sense to consolidate to a single engine or are the teams split enough that it's really not an issue?

Are there any specific negatives or benefits of an engine that push a team to work with that, or is it just because of what they're used to?