UNPKG

playcanvas

Version:

PlayCanvas WebGL game engine

26 lines (23 loc) 491 B
var litOtherMainPS = ` #ifdef PICK_PASS #include "pickPS" #endif #ifdef PREPASS_PASS #include "floatAsUintPS" #endif @fragment fn fragmentMain(input: FragmentInput) -> FragmentOutput { #include "litUserMainStartPS" var output: FragmentOutput; evaluateFrontend(); #ifdef PICK_PASS output.color = getPickOutput(); #endif #ifdef PREPASS_PASS output.color = float2vec4(vLinearDepth); #endif #include "litUserMainEndPS" return output; } `; export { litOtherMainPS as default };