playcanvas
Version:
PlayCanvas WebGL game engine
36 lines (24 loc) • 631 B
JavaScript
// main shader entry point for the lit material for other render passes
var litOtherMainPS = /* wgsl */ `
@fragment
fn fragmentMain(input: FragmentInput) -> FragmentOutput {
var output: FragmentOutput;
evaluateFrontend();
output.color = getPickOutput();
output.color = float2vec4(vLinearDepth);
return output;
}
`;
export { litOtherMainPS as default };