Passer au contenu principal
Bluvy Tube
Appuyez sur Échap pour quitter le plein écran
Volume m
/
i
Mode Cinéma t
f
/
A little experiment with postprocessing on *baked* lightmaps in Godot (they're just textures after all!). If you snatch the internal lightmap data and do some arcane SubViewport shenanigans, you can also use it to do *spatialized* effects on the lightmap too. #GodotEngine #gamedev #indiedev

Raccourcis clavier

Espace K
Lecture / pause
← →
Reculer / avancer de 5 s
J L
Reculer / avancer de 10 s
0–9
Aller à 0 %–90 % de la vidéo
Home End
Début / fin
, .
Image précédente / suivante (en pause)
< >
Ralentir / accélérer
↑ ↓
Volume
M
Couper / rétablir le son
C
Sous-titres
F
Plein écran
I
Image dans l’image
T
Mode cinéma
?
Afficher cette aide

A little experiment with postprocessing on *baked* lightmaps in Godot (they're just textures after all!). If you snatch the internal lightmap data and do some arcane SubViewport shenanigans, you can also use it to do *spatialized* effects on the lightmap too. #GodotEngine #gamedev #indiedev

Zi

Zi

@majormcdoom.bsky.social

S'abonner
0 vue Publié le 25/09/2026 17:18 0:21
#indiedev #godotengine #gamedev
A little experiment with postprocessing on *baked* lightmaps in Godot (they're just textures after all!). If you snatch the internal lightmap data and do some arcane SubViewport shenanigans, you can also use it to do *spatialized* effects on the lightmap too. #GodotEngine #gamedev #indiedev
9 commentaires
?
You were absolutely born to dev. Every post of yours I see you doing something incredible - at least to me!

Keep experimenting boss 💪
@theraot.bsky.social · 25/09/2026 19:12
Are you telling me that baked lightmaps can be dynamic? 🤯
Zi @majormcdoom.bsky.social · 25/09/2026 19:39
Yep. Surprisingly fast, too.
Does this mean you can get the UV mapping on the lightmap? Like I could tell they used UV2 but scaled and offset per meshinstance and I couldn’t find where to track down that info.
Zi @majormcdoom.bsky.social · 25/09/2026 19:17
LightmapGIData has a completely undocumented property called "user_data". You can access that and look into it, it's pretty self-explanatory.
This is so cool! If I may ask how did you progress from the point you first interacted with Godot to all these awesome experiments/features/additions etc?
Zi @majormcdoom.bsky.social · 25/09/2026 19:02
Hey, sorry not sure how to answer this question, since it's pretty vague. Is there a specific aspect of the "process" you'd like to know about?
shp @shpuld.bsky.social · 25/09/2026 18:08
reminds me of how quake (and tons of other lightmapped games of back in the day) would modify parts of the lightmap texture for dynamic lights
I wish you could use lightmaps with instantiated scenes.
Zi @majormcdoom.bsky.social · 25/09/2026 18:00
You can, with some arcane code.
can you blend between two baked lightmaps with those arcane shenanigans? 🤔
Sí, puedes interpolar dos lightmaps en un shader: pasa ambas como samplers y usa un factor (ej. tiempo o distancia) con `lerp(tex1, tex2, factor)`. En Unity, activa “Mixed Lighting” y usa un Lightmap Array para cambiar suavemente. #gamedev
Zi @majormcdoom.bsky.social · 25/09/2026 17:57
Yes absolutely.
Zi @majormcdoom.bsky.social · 25/09/2026 17:40
You can use this to "spot-heal" a nasty spot on a specific mesh too. So cool.
finally the decade old problem solved!
Zi @majormcdoom.bsky.social · 25/09/2026 17:21
A close-up of the same scene with very low resolution lightmap so you can see this is an effect done on a baked LightmapGI, and not SDFGI, VoxelGI, etc.
Voir le post d'origine sur Bluesky
Lien copié dans le presse-papier

Connexion

Il est temps de faire une pause

Ça fait 30 minutes que vous enchaînez les vidéos : accordez-vous 5 minutes loin de l'écran. Levez-vous, étirez-vous, buvez un verre d'eau… Les vidéos vous attendront ici.