Closed roeas closed 1 year ago
Usage:
shaderSchema.AddFeatureSet({ ShaderFeature::ALBEDO_MAP }); shaderSchema.AddFeatureSet({ ShaderFeature::IBL, ShaderFeature::ATM }); shaderSchema.Build();
Will generate uber shader ALBEDOMAP, IBL, ATM, ALBEDOMAP_IBL and ALBEDOMAP_ATM. Wont generate ALBEDOMAP_IBL_ATM and IBL_ATM.
ALBEDOMAP
IBL
ATM
ALBEDOMAP_IBL
ALBEDOMAP_ATM
ALBEDOMAP_IBL_ATM
IBL_ATM
Usage:
Will generate uber shader
ALBEDOMAP
,IBL
,ATM
,ALBEDOMAP_IBL
andALBEDOMAP_ATM
. Wont generateALBEDOMAP_IBL_ATM
andIBL_ATM
.