Files
cocos4/editor/assets/chunks/lighting-models/default-functions/standard.chunk
T
jk20012001 fb58926f8e optimize debug view uniform and hair shader (#14374)
* optimize debug view uniform

* optimize hair effect

* fix compilation error

* fix compilation error

* fix compilation error

* fix TRT

* remove unused import

* optimize code

* fix shader compilation error
2023-02-27 14:36:18 +08:00

12 lines
650 B
Plaintext

// modify final lighting result for user-defined lighting models
// this function invokes at end of lighting flow
// should use common lighting-model and corresponding shading-model header before function define
//#include <lighting-models/includes/common> for simple modification or <lighting-models/includes/xxx> for invoking lighting-model module functions
//#include <surfaces/data-structures/XXX>
// #define CC_SURFACES_LIGHTING_MODIFY_FINAL_RESULT
// void SurfacesLightingModifyFinalResult(inout LightingResult result, in LightingIntermediateData lightingData, in SurfacesMaterialData surfaceData, in LightingMiscData miscData)
// {
// }