Repository navigation
Remove Outdated LDR KVs from Light Entities - #377
crazy-hair wants to merge 4 commits into
Conversation
Laveig
left a comment
There was a problem hiding this comment.
Brightness scale is used by static lighting, please leave it because some people still use it
|
Brightness scale does not affect dynamic lighting, without any disclosure, leading to confusion about why a light may be too bright or not bright enough |
|
Removing these by themselves isn't a good idea - lights have complicated fallback situations between the LDR/HDR brightness and the scale, and people will vary as to which keyvalues they set. Removing them will lead to a lot of maps where the light colour is configured in an invalid keyvalue, so you'd have to manually fix with smartedit off. |
|
It would require some non-smartedit corrections for existing maps, but it would greatly improve new maps going forward. I've seen many people confused by the two separate brightness KVs, and the fact that the brightness scale doesn't work with clustered can really only cause confusion (and the fact that it is redundant now that LDR rendering has been removed completely). Since the KVs would still be retained on existing lights, it wouldn't outright break any existing maps, just require some shuffling around of KVs if you want to tweak it, which would only require you to copy the LDR value into the HDR value. As far as I can tell, removing the LDR brightness wouldn't have any effect on new lights at all, since if the HDR brightness KV has anything other than -1 it completely overrides the LDR key. |
|
Yep, but many people (myself for example) would just put their colours solely in the LDR section, meaning all your values are confusingly readonly suddenly. Since it's such a common entity, we'd need something better for migration. |
|
I'd personally argue that since Strata's still very early in beta, and the fact that most people aren't gonna be editing their previous maps that much after they're published, a change like this would really only require people to rework their current map, and then use the new format going forward, it wouldn't be that big of an issue. But I guess having some sort of migratory feature in hammer that like, automatically copies the LDR value into the HDR KV would probably make that switch a lot easier, if that is possible. |
|
You also have people copying their P2 maps into P2CE, which is definitely something supported. |
Removes
_light(color255)and_lightscaleHDR(float)from the FGD since Strata forces HDR on during compile.