Houdini and Baked Lighting for Realtime Experiences

   2439   1   0
User Avatar
Member
2 posts
Joined: Aug. 2019
Offline
Hi all, currently working on a lot of realtime VR projects for the web and a big part of making performant and beautiful experiences revolves around really good prerendered lighting. I haven't found too much about lightmap baking in Houdini since that's usually done in Unreal, Unity or whatever game engine is being used but my target is three.js and web so I'm looking to lightmap in Houdini first and use a GPU based lightmapper for faster baking. Would be open to anyone's opinion on this. I've only found that Redshift supports lightmap baking in Houdini according to a Bubble Pins tutorial.
User Avatar
Member
36 posts
Joined: Nov. 2013
Offline
Hi kitae,

I am also doing realtime/mobile VR stuff and used RedShift for light map baking in Houdini. But the downside is, that these maps have to be used in the materials, at least from what I've learned. Maybe there is a way to feed these maps into the actual UE lightmap channel, but I haven't figured this out yet.

In my case using materials was still okay, because I was processing a lot of CAD Data and I was also just looking for some AO and Contact Shadows to get an overall smooth feeling for all objects. The reason why I used redshift/ external baking is because I was also slicing the cad data and I need a proper interior lighting which would have been even trickier with UE light baking...

You get an idea from this Video:
https://twitter.com/SchuchFelix/status/1447596342189117447?t=MHOLyihFLDnzASwoArQ0dg&s=19 [twitter.com]

I built a clustering SOP network to combine and pack objects using the same materials in order to reduce draw calls and then baked AO maps using TOPs for each material cluster. It was a bit tricky to set it up, but once it worked. I was able apply this to all CAD files and I had 5-10 textures with texture information for all objects. Instead of TOPs you could also use the frame range for batch baking.

Since the amount of CAD I am handling right now increased a lot, I am currently trying to stay in UE for baking and I am just using Houdini for an efficient lightmap UV packing.

Maybe this helps and let me know if you have any questions.

Felix
Edited by Fele - April 14, 2022 03:46:02
  • Quick Links