Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
141 stars 2 forks source link

Lightbaking inside Resonite #220

Open ArchieTheRaccoon opened 1 year ago

ArchieTheRaccoon commented 1 year ago

Is your feature request related to a problem? Please describe.

Light baking is a very serious and important thing in any game engine, since it opens up so much optimisation possibilities AND makes everything look way more beautiful because of that indirect lightning stuff.

Tags for ease of search: light, bake

Describe the solution you'd like

Having light baking settings/tools in Resonite. Being able to choose and tweak it. Maybe even taking advantage of the RTX of new Nvidia Graphic Cards for that purpose..

Describe alternatives you've considered

If direct light baking inside of resonite is impossible - maybe it could be possible to use an outside software for that purpose? Like an official support of blender light baking of some sort.

Additional Context

No response

antrobot1234 commented 1 year ago

the developers are currently working on switching over from the unity rendering engine to their own inhouse system called "sauce". hopefully, a feature like this (along with overall better lighting system functionality) will make it in

DoubleStyx commented 1 year ago

We're still figuring out how exactly we want to handle indirect lighting or light baking for the new renderer. At a minimum, expect to see reflection and/or light probes. Full-on lightmapping is definitely something we're investigating, but we're exploring various approaches for it that work well in a dynamic context like Resonite.

ArchieTheRaccoon commented 1 year ago

We're still figuring out how exactly we want to handle indirect lighting or light baking for the new renderer. At a minimum, expect to see reflection and/or light probes. Full-on lightmapping is definitely something we're investigating, but we're exploring various approaches for it that work well in a dynamic context like Resonite.

Every object usually has a lightmap texture slot, thats the start a least! Unreal Engine has pretty good light baking -> maybe it can be insightful to look into their github for ideas. Also I noticed - theres no checkbox for objects to let resonite know if they're static or not -> that usually is what used to let the engine know what objects to render lightmap for. I also love the concept of mixed lighting. It doesnt dynamically add shadows on static object since they are already baked, but does add shadows on moving objects

Geenz commented 9 months ago

We do intend to support light mapping at some point- it’s not necessarily blocked by sauce, but sauce would greatly benefit such a feature.

The main complication here is trying to fit it into a flow that keeps with our collaborative capabilities.