mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-05 19:12:40 +08:00
fb58926f8e
* 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
12 lines
650 B
Plaintext
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)
|
|
// {
|
|
// }
|
|
|