playcanvas
Version:
PlayCanvas WebGL game engine
87 lines (67 loc) • 1.85 kB
JavaScript
// functionality includes for lighting / shadowing code.
var lightingPS = /* glsl */ `
// all this functionality that needs to be included for clustered lighting
uniform highp sampler2D areaLightsLutTex1;
uniform highp sampler2D areaLightsLutTex2;
// area lights
// clustered lighting
// LOOP - generate shadow evaluation functions for all non-clustered lights
// LOOP - generate light evaluation functions for all non-clustered lights
`;
export { lightingPS as default };