UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

13 lines (11 loc) 282 B
// evaluation of a light with index {i}, driven by defines var lightEvaluationPS = /* glsl */ ` #if defined(LIGHT{i}) evaluateLight{i}( #if defined(LIT_IRIDESCENCE) iridescenceFresnel #endif ); #endif `; export { lightEvaluationPS as default };