UNPKG

playcanvas

Version:

PlayCanvas WebGL game engine

22 lines (20 loc) 394 B
var litOtherMainPS = ` #ifdef PICK_PASS #include "pickPS" #endif #ifdef PREPASS_PASS #include "floatAsUintPS" #endif void main(void) { #include "litUserMainStartPS" evaluateFrontend(); #ifdef PICK_PASS gl_FragColor = getPickOutput(); #endif #ifdef PREPASS_PASS gl_FragColor = float2vec4(vLinearDepth); #endif #include "litUserMainEndPS" } `; export { litOtherMainPS as default };