nicholas-maltbie / PropHunt

PropHunt game attempt using Unity and the Data Oriented Technology Stack
MIT License
11 stars 0 forks source link

Lightmapping with DOTS and URP #178

Open nicholas-maltbie opened 3 years ago

nicholas-maltbie commented 3 years ago

So, the house right now in development as part of a PR is a bit dark. We need to figure out how to add lighting (baked and realtime) to the house so the various sections can be lit up with a nice look (and allow for multiple settings levels so must support baked and realtime lighting).

swiimii commented 3 years ago

Adding lights to the house is likely blocked by missing features in DOTS.

Point + spot lights No Planned for 2020 Ambient probe No Planned for 2020 Light probes No Planned for 2020 Reflection probes No Planned for 2020 Lightmaps No Planned for 2020 https://docs.unity3d.com/Packages/com.unity.rendering.hybrid@0.10/manual/index.html#feature-support

nicholas-maltbie commented 3 years ago

Update: it seems that baked lighting is supported for pro-builder mesh objects. Have to select the Lightmap Static object in the ProBuilder configuration. No dynamic lighting yet as noted earlier but with windows and dynamic lighting it may work better.

Option for Lightmap Static in ProBuilder

nicholas-maltbie commented 3 years ago

Noticed that there is no baked lighting in the project export, may have to look into this issue further for area lights.