GoomiiV2 / Rampancy

A new level editor for the Halo games based on a CSG/Brush workflow, similar to Source/Quake level editing.
MIT License
35 stars 1 forks source link

Lightmap baking and export #3

Open GoomiiV2 opened 2 years ago

GoomiiV2 commented 2 years ago

Unitys light map has a few more features that Halo 1s light mapper to say the least. So it would be neat to be able to bake hardware accelerated light maps in Unity and have those exported to the map.

Would also be nice to use xatlas to create the light maps uv as well and maybe seam optimizer as well to help.

Useful links: https://c20.reclaimers.net/h1/tools/aether/

Look at supporting for the other Halo games too, eg, Halo 3.

Aerocatia commented 2 years ago

You should check out invader-lightmap from https://github.com/SnowyMouse/invader. it can import and export lightmap UV's from scenario tags. It was originally written for using with blender, however development on the blender side stalled. Is sounds like it could be useful for this project given invader has a solid tag parser.

I really like the idea of this project, lets us know if invader can be adapted to be of more use for this.

GoomiiV2 commented 2 years ago

Oh nice, that looks pretty great!

Invader is something i need to look at more too, it looks pretty nice, when I get further into tag editing I can see how the two could be tailored to suit each other.

In the mean time I can add support for calling Invader tools instead of tool.exe if the user already has them installed in the hek dir.