1912475720103649326, 1905523331496828964

This commit is contained in:
ed committed 2026-08-25 00:40:55 -04:00
1 parent b9eb0f3657
commit c1aed52bd3
9 files changed
+448

No files matched your search

@@ -0,0 +1,83 @@
---
title: "@SebAaltonen Any tips or existing solutions on achieving something similar in Unity? (in terms of indoor lighting)"
type: archive
source: twitter
source_url: "https://x.com/VoxelBoy/status/1905551799790006590"
author: "Yilmaz Kiymaz"
handle: VoxelBoy
post_id: "1905551799790006590"
date: 2025-03-28
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- SebAaltonen
description: "@SebAaltonen Any tips or existing solutions on achieving something similar in Unity? (in terms of indoor lighting)"
in_reply_to: ""
parent_post_id: "1905523331496828964"
---
## Source
- URL: https://x.com/VoxelBoy/status/1905551799790006590
- Author: Yilmaz Kiymaz (@VoxelBoy)
- Posted: 2025-03-28 09:25:27
## Branch
**1/**
@SebAaltonen Any tips or existing solutions on achieving something similar in Unity? (in terms of indoor lighting)
**2/**
@VoxelBoy @SebAaltonen In Unity I do it this way: Custom EnvProbe component, capture gbuffer albedo normal and depth into cubemap on load. Pick 1 probe per frame and relight similar to deferred lighting using current sun/sky etc. Convolve to SH for diffuse and GGX for spec. Combine during deferred pass
**3/**
@VoxelBoy @SebAaltonen This is a custom pipeline though. You'll need a decent amount of graphics code/shaders to get it working, will be very hard to retrofit into HDRP, might be feasible in URP/BiRP. I'm still working on it, may switch to octmaps instead of cubemaps. Unity is still very behind with GI
**4/**
@BenSimsTech @SebAaltonen Also, with your custom render pipeline, how easy would you say it is to exceed URP performance if what’s being used are the most basic features such as Lit shader + lightmaps? Is there a lot of cruft in URP that causes overhead in your opinion?
**5/**
@VoxelBoy @SebAaltonen URP is reasonably lightweight, depends what you're targeting though. For low-end mobile/mobile VR there's a few uneccessary copies/blits etc for things like color grading, depth reads, MSAA resolves etc. Lights are only culled on per-object basis which can waste performance too.
**6/**
@BenSimsTech @VoxelBoy @SebAaltonen I don’t think msaa is worth it on TBDR. Too much bandwidth shuffling tiles on/off. And avoiding swapping out say depth is tough.
**7/**
@Alecazam123 @BenSimsTech @VoxelBoy @SebAaltonen MSAA+tiler makes sense if no post, assuming one does inline 4 sample tonemap before box summation (HW resolve). Have to super sample alpha test and set coverage mask, and super-sample depth for soft particle blend. Neither should require depth export if HW is good
**8/**
@NOTimothyLottes @BenSimsTech @VoxelBoy @SebAaltonen Gpu occlusion needs hierZ. Just not worth it IMHO.
**9/**
@Alecazam123 @BenSimsTech @VoxelBoy @SebAaltonen Good HW in theory with wave ops on a full-screen triangle could read the MSAA depth and do an inline down-sample for the wave tile without ever needing to export MSAA depth, hierZ done with last frame's reduced depth and speculation should work for HZB occlusion
**10/**
@Alecazam123 @BenSimsTech @VoxelBoy @SebAaltonen On a tiler you don't do mid-frame readback feeding any kind of geometry because the tiler geo passes are too latent (do all VS for the view for tile chunking, then PS)
**11/**
@Alecazam123 @BenSimsTech @VoxelBoy @SebAaltonen The MSAA alternative I was pushing for at Unity for "general purpose" deferred g-buffer stuff was 1:2x2 nearest scaling mixed with 8x area STP (scaling-TAA), and hopefully eventually CS based index culling (to keep triangle, and thus chucker DRAM round trip bandwidth low)
**12/**
@NOTimothyLottes @BenSimsTech @VoxelBoy @SebAaltonen Still a lot of limitations on depth/stencil and color msaa resolves and iOS. Hw only has it all around A13. Nice sample shaders for tonemap prior to resolve. Still think TAA is the most flexible/affordable. Plus msaa lowers tile size from 32x32@1x to 16x16@4x.
**13/**
@Alecazam123 @BenSimsTech @VoxelBoy @SebAaltonen MSAA/TAA doesn't change the problem with mid-frame CPU read back. Id still probably go with a mix of vintage precomputed clustered visibility (ratchet and clank style) and model LOD for the static geo of a tri based mobile engine
## Related
- Spine: [[archive/threads/SebAaltonen/2025-03-28-indoor-scenes-in-hypehype-are-starting-to-look]]
@@ -0,0 +1,72 @@
---
title: "Indoor scenes in HypeHype are starting to look acceptable."
type: archive
source: twitter
source_url: "https://x.com/SebAaltonen/status/1905523331496828964"
author: "Sebastian Aaltonen"
handle: SebAaltonen
post_id: "1905523331496828964"
date: 2025-03-28
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- SebAaltonen
description: "Indoor scenes in HypeHype are starting to look acceptable."
in_reply_to: ""
---
## Source
- URL: https://x.com/SebAaltonen/status/1905523331496828964
- Author: Sebastian Aaltonen (@SebAaltonen)
- Posted: 2025-03-28 07:32:19
## Thread
**1/**
Indoor scenes in HypeHype are starting to look acceptable. This has no baked lighting. Only a single oct-map (conv.mips) for indirect specular and diffuse, masked with screen space AO (GTAO). No sunlight and no local lights (local lights are coming in a few months).
Game by Allu
<video controls src="https://video.twimg.com/ext_tw_video/1905521263075885056/pu/vid/avc1/720x1560/LEz0QMbFyKdz0Ph9.mp4?tag=12"></video>
Branches: [[archive/threads/SebAaltonen/2025-03-28-indoor-scenes-in-hypehype-are-starting-to-look/2025-03-28-VoxelBoy-any-tips-or-existing-solutions-on-achieving]]
**2/**
We just shipped textures. This game is using older "pixart" assets only, which allows you to put diffuse-only textures in sprites. The ground and walls are 3d sprites in this game. The new material system allows full PBR texture sets (diffuse, normal, roughness, metallic, AO).
**3/**
Local light system is shipping before summer. This will be a big improvement for indoor game visual quality. Direct lighting is important, especially when you can't bake lightmaps. Our local lights also have shadows. One big texture atlas caches all local light shadow maps.
**4/**
Example of a game textured with the new PBR material system:
https://x.com/JohannesVuorine/status/1903305450969526504
Both games are running smoothly on dirt cheap <$99 phones with all the tech running.
Game by @DanielPalmiArt
**5/**
@DanielPalmiArt Old HypeHype indoor pictures before we landed screen space AO (GTAO) and oct-map indirect lighting. Old version had gradient based indirect lighting. Gradient is bad for indoors, since all wall normals face to horizon direction == same gradient color. And shadow masks sun out.
![](https://pbs.twimg.com/media/GnHLNt9WkAAabNR?format=jpg&name=orig)
![](https://pbs.twimg.com/media/GnHLO2zXEAAhygZ?format=jpg&name=orig)
![](https://pbs.twimg.com/media/GnHLQDVXEAAmBJ6?format=jpg&name=orig)
**6/**
@DanielPalmiArt Exactly one-year-old build versus the latest build. Quite a massive improvement in one year in visuals.
Still runs smoothly on the same devices.
Of course we are not happy with the current state either. It's going to look much better next year with all the new tech :)
![](https://pbs.twimg.com/media/GnHN9zuXgAAsS1Q?format=jpg&name=orig)
![](https://pbs.twimg.com/media/GnHOAL1WYAATQiF?format=jpg&name=orig)
+1
View File
@@ -11,3 +11,4 @@ tags:
- [[archive/threads/SebAaltonen/2024-04-04-this-is-how-slow-code-feels-like]]
- [[archive/threads/SebAaltonen/2024-05-03-why-should-one-be-able-to-code-without]]
- [[archive/threads/SebAaltonen/2025-03-28-indoor-scenes-in-hypehype-are-starting-to-look]]