playcanvas
Version:
Open-source WebGL/WebGPU 3D engine for the web
34 lines (24 loc) • 613 B
JavaScript
// main shader entry point for the lit material for other render passes
var litOtherMainPS = /* glsl */ `
void main(void) {
evaluateFrontend();
pcFragColor0 = getPickOutput();
pcFragColor1 = getPickDepth();
gl_FragColor = float2vec4(vLinearDepth);
}
`;
export { litOtherMainPS as default };