playcanvas
Version:
Open-source WebGL/WebGPU 3D engine for the web
29 lines (26 loc) • 560 B
JavaScript
var litOtherMainPS = `
@fragment
fn fragmentMain(input: FragmentInput) -> FragmentOutput {
var output: FragmentOutput;
evaluateFrontend();
output.color = getPickOutput();
output.color1 = getPickDepth();
output.color = float2vec4(vLinearDepth);
return output;
}
`;
export { litOtherMainPS as default };