UNPKG

playcanvas

Version:

PlayCanvas WebGL game engine

6 lines (4 loc) 672 B
// backend shader implementation code which executes prior to the front end code, and contains code // which is required by the frontend code. var litForwardPreCodePS = '\n\n#include "basePS"\n#include "sphericalPS"\n#include "decodePS"\n#include "gammaPS"\n#include "tonemappingPS"\n#include "fogPS"\n\n// 9-slice support code\n#if LIT_NONE_SLICE_MODE == SLICED\n #include "baseNineSlicedPS"\n#elif LIT_NONE_SLICE_MODE == TILED\n #include "baseNineSlicedTiledPS"\n#endif\n\n// TBN\n#ifdef LIT_TBN\n #include "TBNPS"\n\n #ifdef LIT_TWO_SIDED_LIGHTING\n #include "twoSidedLightingPS"\n #endif\n#endif\n\n'; export { litForwardPreCodePS as default };