UNPKG

playcanvas

Version:

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

37 lines (28 loc) 562 B
var litOtherMain_default = ( /* glsl */ ` #ifdef PICK_PASS #include "pickPS" #endif #ifdef PREPASS_PASS #include "floatAsUintPS" #endif void main(void) { #include "litUserMainStartPS" evaluateFrontend(); #ifdef PICK_PASS pcFragColor0 = getPickOutput(); #ifdef DEPTH_PICK_PASS pcFragColor1 = getPickDepth(); #endif #endif #ifdef PREPASS_PASS gl_FragColor = float2vec4(vLinearDepth); #endif #include "litUserMainEndPS" } ` ); export { litOtherMain_default as default };