RobertBeckebans / RBDOOM-3-BFG

Doom 3 BFG Edition source port with updated DX12 / Vulkan renderer and modern game engine features
https://www.moddb.com/mods/rbdoom-3-bfg
GNU General Public License v3.0
1.38k stars 247 forks source link

[TrenchBroomBFG] Extend convertMapToValve220 to support "light_origin" #825

Closed RobertBeckebans closed 2 days ago

RobertBeckebans commented 6 months ago

It really sucks that Doom 3 lights can have models and those models/brushes are at the "origin" and the light then renders at "light_origin".

Lights with brushes have be split into 2 entities I guess. One light entity and one func_static entity for the model and flares and they probably should be put together into a func_group.

This is actually important if someone wants to edit the original maps with TrenchBroomBFG.

nbohr1more commented 6 months ago

Don't you mean "light_center" which controls the projection origin rather than the entity location origin?