figment/max_nif_plugin — comment on commit 36267d49cdd6c89770b4806f70206f18fafe51c7
File: NifExport/MtlTex.cpp line 59
By figment:

They share a majority of similar code so faster to do it this way. BSLightingShaderProperty is a subclass of BSShaderPPLightingProperty. The code mostly works on just the base class.